aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_association.rb
Commit message (Expand)AuthorAgeFilesLines
* make tests pass on Ruby 2.2Aaron Patterson2014-03-131-4/+4
* fix HABTM w/out primary key errors on destructionKevin Casey2014-02-021-1/+1
* Raise `RecordNotDestroyed` when children can't be replacedBrian Thomas Storti2013-11-251-1/+1
* Make sure inverse_of is visible on the has_many callbacksArthur Neves2013-09-251-0/+1
* hm:t join tables may not have a primary keyAaron Patterson2013-09-061-1/+5
* Revert "Merge pull request #11416 from tigrish/master"Yves Senn2013-07-221-1/+1
* Remove ambiguity with pluralizations and I18n keys used for association restr...Christopher Dell2013-07-131-1/+1
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-031-1/+1
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-021-2/+0
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-1/+1
* Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-2/+1
* Update other counter caches on destroyIan Young2013-03-201-1/+1
* dependent: :destroy should call destroy_allNeeraj Singh2013-03-111-2/+3
* :counter_cache option for to support custom named counter caches. Closes #7993Yves Senn2012-11-041-1/+1
* move dependency logic out of generated methodsJon Leighton2012-08-101-0/+22
* s/scoped/scope/Jon Leighton2012-08-011-3/+3
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-1/+7
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-7/+1
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-1/+1
* Perf: Don't load the association for #delete_all.Jon Leighton2012-05-181-2/+6
* Fix #3672 again (dependent: delete_all perf)Jon Leighton2011-12-141-7/+3
* load has_many associations keyed off a custom primary key if that key is pres...Brian Samson2011-11-251-0/+4
* Perf fixJon Leighton2011-11-191-2/+6
* Only save the record once when calling create! on a collection association. F...Jon Leighton2011-05-311-2/+7
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* Move the code which builds a scope for through associations into a generic As...Jon Leighton2011-03-101-2/+0
* Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-0/+1
* Delegate Association#options to the reflection, and replace 'reflection.optio...Jon Leighton2011-02-211-2/+2
* Associations - where possible, call attributes methods rather than directly a...Jon Leighton2011-02-211-16/+16
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-7/+5
* Get rid of AssociationCollection#save_recordJon Leighton2011-02-141-2/+2
* Refactor the implementations of AssociatioCollection#delete and #destroy to b...Jon Leighton2011-02-071-1/+1
* Correctly update counter caches on deletion for has_many :through [#2824 stat...Jon Leighton2011-02-071-15/+39
* Make record.association.destroy(*records) on habtm and hm:t only delete recor...Jon Leighton2011-02-071-11/+11
* Rename AssociationProxy#loaded to loaded! as it mutates the associationJon Leighton2011-01-301-1/+1
* Let's be less blasé about method visibility on association proxiesJon Leighton2011-01-301-5/+8
* Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-3/+1
* Create the association scope directly rather than going through with_scopeJon Leighton2011-01-031-1/+1
* Use the association directly in other places tooJon Leighton2011-01-031-4/+2
* Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-10/+0
* Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-1/+1
* And owner_quoted_id can go tooJon Leighton2010-12-311-8/+0
* Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst o...Jon Leighton2010-12-261-4/+0
* Associations: DRY up the code which is generating conditions, and make it all...Jon Leighton2010-12-261-16/+2
* Remove target_obsolete? which is not called from anywhereJon Leighton2010-12-261-4/+0
* Avoid Symbol#to_proc for performance reasons in Ruby 1.8Jon Leighton2010-12-201-3/+3
* has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-1/+3
* Refactor delete_records in HasManyAssociationJon Leighton2010-12-201-7/+8
* Specify insert_record with NotImplementedError in AssociationCollection, to i...Jon Leighton2010-12-201-1/+1
* removing more calls to deprecated methodsAaron Patterson2010-12-021-2/+3