aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix uninitialized warning with @new_record instance variableAndrew White2016-11-031-0/+1
* Associations do not call `.to_proc` on HashTyler Distad2016-05-161-1/+1
* Revert "Merge pull request #12413 from arthurnn/inverse_of_on_build"Rafael Mendonça França2013-10-101-1/+0
* Move set_inverse_instance to association.build_recordArthur Neves2013-09-301-0/+1
* @target might be nil when Identity Map is enabled.Larry Lv2013-03-081-3/+8
* Fix issue #7526. Reload the target if it's stale.larrylv2013-03-051-3/+4
* 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