aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-211-1/+1
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-1/+1
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-1/+1
* target_reflection_has_associated_record? refactoringAngelo Capilleri2013-01-081-5/+1
* Fix for has_many_through counter_cache bugMatthew Robertson2012-12-141-0/+5
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-181-2/+2
|\
| * Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-2/+2
* | Fix collection= on hm:t join models when unsavedErnie Miller2012-09-171-0/+14
|/
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
* s/scoped/scope/Jon Leighton2012-08-011-2/+2
* Deprecate Relation#all.Jon Leighton2012-07-271-1/+1
* no longer need #delete_all_on_destroyJon Leighton2012-05-181-4/+0
* Perf: Don't load the association for #delete_all.Jon Leighton2012-05-181-1/+6
* Not need to pass join attributes to association buildRafael Mendonça França2012-03-071-1/+3
* Fix #3672 again (dependent: delete_all perf)Jon Leighton2011-12-141-0/+4
* Memoize through associationJon Leighton2011-11-031-8/+11
* Remove all revelant through records.Jon Leighton2011-11-031-9/+9
* Fix adding multiple instances of the same record to a has_many :through.Jon Leighton2011-11-031-21/+43
* added an alias for new to build to the AR collection proxy, this corrects an ...Josh Kalderimis2011-06-011-2/+0
* Only save the record once when calling create! on a collection association. F...Jon Leighton2011-05-311-2/+9
* singular and collection relations in AR can now specify mass-assignment secur...Josh Kalderimis2011-05-011-2/+2
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-62/+97
|\
| * Delegate through_reflection and source_reflection to reflectionJon Leighton2011-02-211-10/+10
| * Associations - where possible, call attributes methods rather than directly a...Jon Leighton2011-02-211-13/+13
| * Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-11/+9
| * Allow building and then later saving has_many :through records, such that the...Jon Leighton2011-02-181-4/+46
| * Get rid of AssociationCollection#save_recordJon Leighton2011-02-141-4/+13
| * just return the record from insert_record, use truthiness for comparisonsAaron Patterson2011-02-071-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-5/+24
| * Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-071-9/+8
| * Make record.association.destroy(*records) on habtm and hm:t only delete recor...Jon Leighton2011-02-071-10/+11
| * Let's be less blasé about method visibility on association proxiesJon Leighton2011-01-301-7/+10
| * Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-5/+0
| * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-1/+0
| * Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-1/+1
| * I N C E P T I O N: flatten_deeper works around a bug in Ruby 1.8.2.Aaron Patterson2010-12-271-1/+1
| * Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst o...Jon Leighton2010-12-261-1/+1
| * Add a HasAssociation module for common code for has_* associationsJon Leighton2010-12-261-2/+1
| * Use conditionals and implicit returns rather than explicit returns and postfi...Jon Leighton2010-12-261-3/+7
| * Remove has_cached_counter? and cached_counter_attribute_name from HasManyThro...Jon Leighton2010-12-261-8/+0
| * Use the through association proxy for operations on the through record, so th...Jon Leighton2010-12-261-2/+2
| * If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-231-0/+1
| * Delete create, create! and create_record from HasManyThroughAssociation in ex...Jon Leighton2010-12-201-18/+0
| * Specify insert_record with NotImplementedError in AssociationCollection, to i...Jon Leighton2010-12-201-5/+1
| * Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-161-1/+1
| * just copy the joins to the listAaron Patterson2010-12-161-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-2/+2
|\|
| * Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-2/+2
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-3/+2
|\|