RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How to create many-to-many associations in Rails

I wrote an article on the creation of many-to-many relationships with the built-in Ruby on Rails associations, has_many :through and has_and_belongs_to_many:. Additionally, the specific differences between the two will be examined with some use cases.
Read more

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in