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

How To Namespace Controllers In Rails
Namespacing controllers in a Ruby on Rails application is a great way to isolate different features: invoicing, authentication, etc. It's also pretty simple to implement, so there are no reasons not to do it if you need it.

Rails: /app vs /lib
I often see weird stuff in Rails applications. One that I always find weird is when people put stuff that belongs to the domain of their application inside the /lib folder. Let's talk about why most of the stuff inside lib doesn't belong there.

Angular.js CORS: Get, Post, Put and Delete
I've received requests to talk about PUT and DELETE calls on my article about CORS with Angular.js. So here it comes!

Rails STI: Keeping all subclasses in the same file
I recently received a comment on my STI tutorial asking how to keep all the subclasses in one file. Indeed, creating one file for one line of code is a bit overkill but that's the way Rails works: Conventions over configuration.

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.

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

How to debug a mobile website on iOS
Let's say you are working on a mobile website or a mobile webapp. You develop it in your desktop browser because it's much easier, right ? When finally comes the time to test it on a device/simulator, something goes wrong. How can you find out what ? There is no debugging tool integrated in mobile Safari... Desktop Safari to the rescue !

Return JSON in Sinatra
Returning JSON from a Sinatra endpoint is really easy. Here's how to do it.

Lightweight HTTP Web Server - SimpleHTTPServer
Returning JSON from a Sinatra endpoint is really easy. Let's see how to do it.
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.