The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Setting up git push code deploy to VPS
If you are setting up your own remote server/VPS for your next Ruby project you will probably like to make it easy to deploy your code with simple git push. It’s actually easier to set up than you think! Read more
Ruby on Rails project starter
Flexible project starter with mass of gems, which you can add at the very beginning and be free from initial setup.
left_pad
Ruby implementation famous npm’s left-pad is finally here -
Improving your Microservices Integration Performance with Memcache and ETAGs
Many people are implementing microservices nowadays, a never ending spaghetti of services calling services calling services, and so on. And it becomes slower and slower. What to do? Many things, for sure, but we can start simple: using HTTP itself to help out. In my latest post I explore a simple scenario to explain basic concepts that every developer should know.
has_secure_token to generate unique random token in Rails 5
We can generate unique random token with Rails 5 Read more
Liquid Template Language Docu Reformated - Single-Page Black-n-White Book Version
Hello, I’ve reformated the official Liquid template language docu into a single-page black-n-white book version (using the Manuscripts format). Why? Some might want to print it. Some might want to download it as a PDF. Some might prefer a simple black and white style. Questions? Comments? Welcome. Cheers. PS: Note/Disclaimer: The book version is not (yet) perfect and a work-in-progress.
How to Build a Ruby on Rails Engine
Ruby on Rails Engines are miniature applications whose purpose is to supplement a larger Ruby on Rails application. If functionality can exist independent from a main application, an Engine can provide a wonderful degree of encapsulation. I wrote this step by step guide to help you get started building your very own Engine!
Cuba and React
Cuba-React seamlessly integrates React with the Cuba micro-framework. Any feedback/PRs/abuse gratefully received. Available on RubyGems and via gem install cuba-react. Enjoy!
A Deep Dive into Ruby Scopes
Daniel P. Clark gives an overview on Ruby Scopes. Article here.
Is your Rails app ready for Production?
Many projects need just small touches before hitting production. Check to see if you’re ok with this small guide. This is targeted to beginners but I’ve seen even experienced developers miss some of those points.
better_errors than web-console
Oh, opinions. After working on the Ruby Heroes site lately I realized that I just couldn’t get the kind of debugging I’m used to with better_errors in web-console, so I made a quick little screencast to demonstrate why I think better_errors is so much better. Read more
Rails: Has One Through Polymorphic Relation
In wanting to do the inverse of a standard polymorphic belongs_to relationship, I found that it could be done in a has_one through scenario. Code with light commentary [here]
Essential Ruby Kindle Book
Now available on the Amazon Kindle store. Check out Essential Ruby
Vote for your 2016 Ruby Heroes
Take a moment to say nice things about the people who made the Ruby community a better place this year. Please cast your votes at rubyheroes.com and spread the word to Rubyists around the world.
How to upgrade to Rails 5
We’re now running Rails 5 @dockbit and I’ve shared our experience with the upgrade here:
Auto Backup Database in Rails Application
In this post, I’ll show you 5 basic steps to auto backup database in your Rails app by using ‘backup’ and ‘whenever’ gems. Read more:
Setting up an S3 bucket for your assets/uploads
Because S3 is awesome, but the policies are awful:
Mastering Concurrency in Ruby
There are multiple ways to handle concurrency: multi-process, multi-threading and event-driven. Each of these have their uses, pros and cons. In this article, you’ll learn how they differ and when to use which.
Handling bounces, FBLs and List-Unsubscribes
An intro on handling email complaints with your email delivery infrastructure.
Removing a particular middleware from Sinatra based Ruby application
A quick how to on removing a particular middleware from Sinatra app rack stack: Removing a particular middleware from Sinatra based Ruby application
How to Evaluate a Rails Project in 10 Simple Steps
It will come a time when you will have to decide whether to maintain a Rails project or not. Read more
RubyFlow Contributor Conduct
It’s rare for a RubyFlow contributor to deliberately violate our unwritten conventions and make others feel unwelcome, but it’s time to start formalizing what those conventions are and be transparent that we do things to keep the site as clean and welcoming to as many people as possible :-) Read more
Learn how to answer questions by browsing Rails source code
We will use a concrete example by looking at How To Get A List Of All Currently Registered MIME Types With Rails