
HABTM, has_many through, STI, and polymorphic associations in Rails
Once you're past belongs_to and has_many, Rails gives you four more association tools that confuse a...
Tag archive

Once you're past belongs_to and has_many, Rails gives you four more association tools that confuse a...

As explained in Rails association reference, defining a has_many association gives 17 methods. We'll...
In Ruby on Rails, a polymorphic association is a type of association that allows a model to belong to...

Much of the power of Ruby on Rails lies in creating good associations to keep our data well...
You can't spell relatable without table! ... Okay, sorry about that. What I'm not sorry about...

Header image by Lightscape on Unsplash Validations, Relational Databases, Happiness and...
How to allow users to make requests and accept connections in a Rails app

Examples of how using relationship-driven design resolves common problems
In this article, you can read about Associations in Rails.
As web developers we are used to some facilities provided by most frameworks, however, when we choose...
Learn how to get started with associations in Rails by following these simple examples and descriptions.

Recently I had to set up a ruby project with Active Record associations and I found myself struggling...