Which Skill Will You Improve Today?
Explore our collection of in-depth tutorials and guides

Modular Rails: Introduction
When you first create a Rails app, you can just follow the conventions provided by Ruby on Rails and your development will be smooth and nice. But after months, or years, your app can become cumbersome.

Build your own JSON presenters with POROs (Plain Old Ruby Object)
I've talked about Active Model Serializers and Jbuilder. Now, I'd like to share with you how you can serialize your models in JSON without using any external gem, just Plain Old Ruby Objects.

Clean JSON generation with JBuilder (Rails 4)
After talking about Active Model Serializers, let's see an alternative: JBuilder.

Simple JSON generation with Active Model Serializers (Rails 4)
These days, people are crazy about single page applications. And for good reason ! But building this kind of application requires a backend that can communicate through JSON. Let's see how we can do that with Rails.

No more slow requests with Delayed Job (Rails 4)
I'm sure you've already seen pages taking forever to load... Not the best user experience huh ! This usually happens when you imported a big file or upload a picture. Those are usually long tasks that should be run in the background to keep the user experience smooth.

Ruby & Ruby on Rails : Inject
We're going to talk about Enumerable#inject! Inject is super cool and if you don't use it in your code, then you should start. Really.

Ruby on Rails Delegate: Don't break the Law of Demeter !
I'm sure you know about the Law of Demeter. It's also known as the principle of least knowledge. Let's see how to apply it in Ruby on Rails !

Scopes in Rails 4
Today we will see a quick tip about scopes in Rails 4.

Single Table Inheritance with Rails 4 (Part 3)
In the last article, we created our controller and define the index view. In this one, we are going to add the missing views and see some tricks to handle paths for STI models.
Level Up Your Dev Skills & Income 💰💻
Learn how to sharpen your programming skills, monetize your expertise, and build a future-proof career — through freelancing, SaaS, digital products, or high-paying jobs.
Join 3,000+ developers learning how to earn more, improve their skills, and future-proof their careers.