aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-2/+2
* Remove unused varSantiago Pastorino2010-11-141-1/+1
* Fix bug where size of through association is not correct after adding a has_m...Jason Cheow2010-11-141-1/+0
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-1/+1
* Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc...Jon Leighton2010-10-301-15/+1
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-3/+3
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-021-3/+4
* Adds title to activerecord/lib/active_record/associations/*Rizwan Reza2010-06-161-0/+1
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-1/+1
* Make scopes use relations under the hoodPratik Naik2010-01-161-2/+0
* Merge commit 'rails/master'Emilio Tagua2009-08-101-19/+16
|\
| * Remove unnecessary scoping for creating hm:t join recordPratik Naik2009-08-101-3/+4
| * Remove unnecessary scoping and validation checks from hm:t#createPratik Naik2009-08-101-1/+1
| * Unify hm:t#create and create! implementationPratik Naik2009-08-101-17/+13
* | Merge commit 'rails/master'Emilio Tagua2009-08-101-2/+6
|\|
| * has_many :through create should not raise validation errorsrailsbob2009-08-091-1/+5
| * Ensure hm:t#find does not assign nil to :include [#1845 state:resolved]railsbob2009-08-091-1/+1
* | Merge commit 'rails/master'Emilio Tagua2009-08-101-0/+4
|\|
| * Ensure hm:t#create/create! throws ActiveRecord::RecordNotSaved when the owner...Pratik Naik2009-08-081-0/+4
* | Merge commit 'rails/master'Emilio Tagua2009-06-301-9/+1
|\|
| * Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-9/+1
| * Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-1/+9
| * Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-9/+1
* | Leave the quoting part to ARelEmilio Tagua2009-06-121-150/+5
|\|
| * HasOneThroughAssociation still shouldn't derive from HasManyThroughAssociation.Adam Milligan2009-06-121-150/+5
* | Use ARel in SQL generation through associationsEmilio Tagua2009-06-101-4/+4
|/
* Ensure HasManyThroughAssociation#destroy delete orphan records [#2251 state:r...Luca Guidi2009-05-181-0/+7
* Providing support for :inverse_of as an option to associations.Murray Steele2009-05-041-5/+5
* Ensure has_many :through works with changed primary keys [#736 state:resolved]Jim Remsik and Tim Pope2009-03-091-1/+1
* Fix RDoc grammar and ensure hm:t tests can run in isolation. [#1644 state:res...Adam Milligan2009-03-071-2/+2
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-271-2/+2
* Fix has many through not quoting table names [#1163 state:resolved]Karthik Krishnan2008-12-201-3/+3
* Fix has_many :through when the source is a belongs_to association. [#323 stat...Zach Dennis2008-10-041-0/+11
* Make AssociationCollection start transactions in the correct database.Hongli Lai (Phusion)2008-09-231-2/+2
* Add special AssociationReflection methods for creating association objects, a...Hongli Lai (Phusion)2008-09-091-4/+5