Sometimes you want to disable some of the default rake tasks in a rails project. Here's a quick way to do just that.
Bi-directional HABTM relationships are easy in Rails, but when you need to do it on a single model, that's when it gets tricky. Here's one approach.
Rake provides a great way to automate repetitive or complex tasks. Here's a look at creating a simple and a more complex task.
Here are a couple methods for dealing with uni-directional many-to-many associations in Rails.
The magic of Rails makes it easy to create simple many-to-many relationships, but I almost never use it, and here's why.
Using a remote database with rails is useful for collaborating on projects or for keeping all your data in one place. Here's how to get it set up from scratch.
Sometimes you need access to multiple database within a single rake task, for whatever reason. Here's how you do it.
Converting a PDF to an image using Rails and Dragonfly is actually quite simple. Check it out.
It can be a process to move away from CarrierWave once you're already using it. Here's a step-by-step process to make it easy to transition to Dragonfly.
Rails classes need to be called dynamically sometimes. Learn how to do it using the constantize inflector.