-
Judging by the number of Ruby on Rails developpers asking themselves this question, this is the missing example of Rails. (It's not in my Rails reference book, and I've never seen any example on any blog.) One solution is to create
More...
-
As you may (or may not) know, there are two ways to build a many-to-many (or N-N) relationship with Rails. The first way uses has_and_belongs_to_many in both models. You'll have to create a join table that has no corresponding model or
More...