Which Skill Will You Improve Today?

Explore our collection of in-depth tutorials and guides

Parchment
TipsJune 7, 2025
Read more →

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
TipsJune 7, 2025
Read more →

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.

Parchment
TipsJune 7, 2025
Read more →

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!

Parchment
TipsJune 7, 2025
Read more →

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.

Parchment
TipsJune 7, 2025
Read more →

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.

Parchment
TipsJune 7, 2025
Read more →

Scopes in Rails 4

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

Parchment
TipsJune 7, 2025
Read more →

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 !

Parchment
TipsJune 7, 2025
Read more →

Return JSON in Sinatra

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

Parchment
TipsJune 7, 2025
Read more →

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.