Rails 3. How to setup two instances of the same model in a belongs_to association?
52193
How do I do two has_many/belongs_to relationships between two models?
35782
Rails -- how to populate parent object id using nested attributes for child object and strong parameters?
41345
Why use "self" to access ActiveRecord/Rails model properties?
125598
Rails: attributes not being saved even though I called @user.save
123538
Is it possible to have the attributes fields already filled from the previous object?
103208
How to prevent creation of records where the value of two fields is the same?
150921
Problem Using Evaluated Replace with Associations
108727
rails - using :select(distinct) with :has_many :through association produces invalid SQL
116700
Can I or SHOULD I find an object by the object_id attribute in ruby?
72720
How to skip ActiveRecord callbacks?
136972
Why can't I create active records that count for something in rspec?
143855
Rails adding multiple objects to an empty array
100517
KeyError when adding objects to SQLAlchemy association object
45519
Best Practices for reusing code between controllers in Ruby on Rails
35474
How can I dynamically change the Active Record database for all models in Ruby on Rails?
141460
Duplicated content shown in a view using a relationship
128027
Converting hierarchies of rules to associations