aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association.rb
Commit message (Expand)AuthorAgeFilesLines
* backport #8291, prevent mass assignment of polymorphic type with `build`Yves Senn2012-11-221-1/+2
* Fix #5069 - Protect foreign key from mass assignment throught association bui...Jean Boussier2012-03-051-1/+2
* added failing tests for has_many, has_one and belongs_to associations with st...Jakub Kuźma2011-12-211-6/+1
* Allow nested attributes in associations to update values in it's owner object...Andrew Kaspick2011-12-141-0/+2
* Fix private methods which are delegated to. This previously worked because Mo...Jon Leighton2011-08-151-8/+8
* Don't construct association scope in initializer. This yields a big performan...Jon Leighton2011-07-071-6/+10
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-0/+9
* Allow polymorphic has_one to work when the association is set before the owne...Jon Leighton2011-06-081-3/+1
* When you add a record to a polymorphic has_one, you should be able to access ...Jon Leighton2011-06-081-1/+1
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-131-1/+1
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-121-1/+1
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-1/+2
* Move the code which builds a scope for through associations into a generic As...Jon Leighton2011-03-101-38/+6
* Active Record typos.R.T. Lechow2011-03-051-2/+2
* Fix a couple of tests in join_model_test.rb which were failing when the ident...Jon Leighton2011-03-041-2/+2
* Rename target_klass to klassJon Leighton2011-02-211-7/+7
* Delegate Association#options to the reflection, and replace 'reflection.optio...Jon Leighton2011-02-211-6/+6
* Associations - where possible, call attributes methods rather than directly a...Jon Leighton2011-02-211-23/+23
* Initialize @target instead asking if it is defined.Emilio Tagua2011-02-181-1/+2
* Reindent and remove wrong line left in merge by mistake.Emilio Tagua2011-02-181-4/+3
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-0/+16
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-0/+246