aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-0/+9
* Fix habtm associations when using multiple databasessdsykes2009-09-121-2/+2
* Revert "Assert primary key does not exist in habtm when the association is de...Jeremy Kemper2009-09-021-0/+16
* Assert primary key does not exist in habtm when the association is defined, i...José Valim2009-09-011-16/+0
* 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
* raises an exception on habtm join table inserts if join table contains a prim...Jaime Bellmyer2009-08-091-2/+14
* raises exception (ActiveRecord::ConfigurationError with message) on habtm ass...Jaime Bellmyer2009-08-091-0/+4
* Fix that counter_cache breaks with has_many :dependent => :nullify.Gabe da Silveira2009-08-091-0/+1
* has_many :through create should not raise validation errorsrailsbob2009-08-091-1/+5
* Allow ho:through#build when the owner is a new record [#1749 state:resolved]Tristan Dunn2009-08-101-3/+9
* Enable has_many :through for going through a has_one association on the join ...Gabe da Silveira2009-08-101-1/+1
* Added back support for destroying an association's object by id. [#2306 statu...Joshua Nichols2009-08-091-0/+1
* Ensure hm:t#find does not assign nil to :include [#1845 state:resolved]railsbob2009-08-091-1/+1
* Ensure hm:t#create/create! throws ActiveRecord::RecordNotSaved when the owner...Pratik Naik2009-08-081-0/+4
* Merge docrailsPratik Naik2009-07-251-2/+2
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-152-5/+27
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-014-28/+16
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-224-16/+28
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-214-28/+16
* Ensure hm:t#create respects source associations hash conditions [#2090 state:...mattbauer2009-06-211-0/+7
* HasOneThroughAssociation still shouldn't derive from HasManyThroughAssociation.Adam Milligan2009-06-123-160/+164
* HasOneAssociation inherits AssociationProxy since it shares nothing with Belo...Emilio Tagua2009-06-121-5/+5
* Ensure HasManyThroughAssociation#destroy delete orphan records [#2251 state:r...Luca Guidi2009-05-181-0/+7
* Implement #many? for NamedScope and AssociationCollection using #size [#1500 ...Chris Kampmeier2009-05-171-0/+9
* has_one :through should not create a new association when assigned nil [#698 ...Daniel Guettler2009-05-171-8/+8
* Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"Jeremy Kemper2009-05-111-1/+1
* Providing support for :inverse_of as an option to associations.Murray Steele2009-05-046-9/+51
* Fixed bug with polymorphic has_one :as pointing to an STI recordRuy Asan2009-05-011-1/+1
* Ensure JoinAssociation uses aliased table name when multiple associations hav...Pratik Naik2009-04-201-2/+2
* Merge docrailsPratik Naik2009-03-161-5/+9
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-121-19/+32
* Add tests for AssociationCollection#find_each and AssociationCollection#find_...Pratik Naik2009-03-111-1/+1
* 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
* Ensure replacing has_one associations respects the supplied :dependent option...Dimitri Krassovski2009-03-061-2/+11
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-273-6/+6
* Cache columns for has_and_belongs_to_many associationslukeludwig2009-01-171-3/+9
* Fix HasManyAssociation#create ignoring the :primary_key option [#1633 state:r...Roman Shterenzon2008-12-271-1/+4
* Fix has many through not quoting table names [#1163 state:resolved]Karthik Krishnan2008-12-201-3/+3
* Fix preloading of has_one :through associations on belongs_to [#1507 state:re...Matt Jones2008-12-181-1/+5
* Revert "Fix: counter_cache should decrement on deleting associated records."Jeremy Kemper2008-12-101-3/+0
* Fix: counter_cache should decrement on deleting associated records.Emilio Tagua2008-12-101-0/+3
* Make NoMethodError message more descriptive when an undefined message has bee...Mike Ferrier2008-12-041-1/+4
* Add :having option to find, to use in combination with grouped finds. Also ad...miloops2008-12-011-0/+1
* fix assignment to has_one :through associations.Matt Jones2008-11-151-4/+3
* Merge with docrails. Also add a rake task to generate guides in your rails ap...Pratik Naik2008-10-212-1/+8
* Ensure association proxy responds to private class methods defined in associa...Pratik Naik2008-10-161-2/+2
* Allow class methods to be sent (via #send) to association proxy (fix for bug ...Ian White2008-10-161-0/+4