aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association_collection.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Allow association scoping for built/created records if :conditions is specifi...Rick Olson2008-03-211-0/+2
* Improve performance by avoiding named block arguments. Closes #11109 [adymo]Michael Koziarski2008-02-291-11/+33
* Revert [8865], broke AP record identifier. Reopens #11109.Jeremy Kemper2008-02-151-14/+12
* Minor formatting changesMichael Koziarski2008-02-141-3/+3
* Improve associations performance by avoiding named block arguments. Closes #1...Rick Olson2008-02-141-11/+13
* Make sure that << works on has_many associations on unsaved records. Closes ...Michael Koziarski2007-10-281-0/+1
* Refactor association create and build so before & after callbacks behave cons...Jeremy Kemper2007-10-161-10/+27
* Fix calling .clear on a has_many :dependent=>:delete_all association. [ta...Michael Koziarski2007-10-071-1/+1
* Added ActiveRecord::Base#to_json/from_json (currently does not support :inclu...David Heinemeier Hansson2007-09-201-1/+2
* Stop users from calling .create on a has_many / habtm association when the ow...Michael Koziarski2007-09-181-1/+10
* Formatting, grammar and spelling fixes for the associations documentation. [s...Michael Koziarski2007-08-281-1/+1
* with_scope is protected. Closes #8524.Jeremy Kemper2007-05-301-3/+3
* Pushing a record on an association collection doesn't unnecessarily load all ...Jeremy Kemper2006-12-211-4/+3
* Remove side effects of [5684]Tobias Lütke2006-12-081-2/+2
* Consolidated different create and create! versions to call through to the bas...Tobias Lütke2006-12-061-17/+12
* AssociationCollection#any? takes a block [Michael Schoen]Jeremy Kemper2006-12-051-3/+7
* Add AssociationCollection#create! to be consistent with AssociationCollection...Tobias Lütke2006-12-051-8/+15
* Added counter optimization for AssociationCollection#any? so person.friends.a...David Heinemeier Hansson2006-12-051-0/+4
* Simplify association proxy implementation by factoring construct_scope out of...Jeremy Kemper2006-11-191-0/+13
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-4/+4
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-4/+4
* unbraindeadify addition to has_many :throughJeremy Kemper2006-08-191-5/+0
* Add AssociationCollection#sum since the method_missing invokation has been sh...Nicholas Seckar2006-06-251-0/+5
* Minor style tweaksDavid Heinemeier Hansson2006-05-211-2/+2
* Fixed that has_many collections shouldn't load the entire association to do b...David Heinemeier Hansson2006-05-211-1/+8
* uniq preserves order. References [4325].Jeremy Kemper2006-05-071-1/+8
* Allow :uniq => true with has_many :through associations.Jeremy Kemper2006-05-061-10/+26
* Fixed that AssociationCollection#delete_all should work even if the records o...Florian Weber2006-04-031-0/+1
* Update lingering uses of deprecated association dependency options (closes #4...David Heinemeier Hansson2006-03-181-1/+1
* Added preliminary support for join models [DHH] Added preliminary support for...David Heinemeier Hansson2005-12-031-12/+7
* Added extension capabilities to has_many and has_and_belongs_to_many proxies ...David Heinemeier Hansson2005-11-041-8/+0
* r3800@sedna: jeremy | 2005-10-28 00:39:05 -0700Jeremy Kemper2005-10-281-1/+1
* Fix Associations#clear for not-yet-loaded associations (Patrick Lenz)Tobias Lütke2005-10-201-1/+1
* DRYed up Associations#clear. Closes #1906 [Caleb]Tobias Lütke2005-10-141-0/+17
* Dont be ambigious about the condition keyDavid Heinemeier Hansson2005-07-221-2/+1
* Added support for calling constrained class methods on has_many and has_and_b...David Heinemeier Hansson2005-07-221-0/+9
* Added callback hooks to association collections #1549 [Florian Weber]David Heinemeier Hansson2005-07-041-2/+31
* Added actual database-changing behavior to collection assigment for has_many ...David Heinemeier Hansson2005-06-161-3/+13
* Fixed documentation snafus #575, #576, #577, #585David Heinemeier Hansson2005-02-071-1/+1
* Added the option of supplying an array of ids and attributes to Base#update, ...David Heinemeier Hansson2005-01-251-3/+7
* Fixed that the belongs_to and has_one proxy would fail a test like 'if projec...David Heinemeier Hansson2005-01-181-4/+0
* belongs_to association should always honor a present foreign key and conditio...David Heinemeier Hansson2005-01-171-21/+0
* Added support for associating unsaved objects #402 [Tim Bates]David Heinemeier Hansson2005-01-151-50/+37
* Remove length alias of sizeDavid Heinemeier Hansson2005-01-111-2/+0
* Added a differenciation between AssociationCollection#size and -length. Now A...David Heinemeier Hansson2005-01-111-1/+10
* Fixed that the overwritten respond_to? method didn't take two parameters like...David Heinemeier Hansson2005-01-031-2/+2
* Added that Base#find takes an optional options hash, including :conditions. B...David Heinemeier Hansson2005-01-011-21/+18
* Added automatic transaction block around AssociationCollection.<<, Associatio...David Heinemeier Hansson2004-12-151-8/+17
* Fixed value quoting in all generated SQL statements, so that integers are not...David Heinemeier Hansson2004-12-071-1/+1
* InitialDavid Heinemeier Hansson2004-11-241-0/+129