aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Added actual database-changing behavior to collection assigment for has_many ...David Heinemeier Hansson2005-06-161-3/+13
* r1307@iwill: jeremy | 2005-06-13 19:05:00 -0700Jeremy Kemper2005-06-131-1/+1
* Be sure to use the @finder_sql in the has_many association's #find method, ev...Jamis Buck2005-06-131-2/+4
* r1294@iwill: jeremy | 2005-06-13 02:17:42 -0700Jeremy Kemper2005-06-131-1/+3
* Replace the in-memory object, but dont orphan the existing oneDavid Heinemeier Hansson2005-06-071-0/+1
* Added a second parameter to the build and create method for has_one that cont...David Heinemeier Hansson2005-06-061-0/+18
* Fixed that :delete_sql in has_and_belongs_to_many associations couldn't acces...David Heinemeier Hansson2005-05-191-2/+2
* Optimize counting of has_many associations by setting the association to empt...David Heinemeier Hansson2005-04-231-1/+5
* Fixed order of loading in eager associationsDavid Heinemeier Hansson2005-04-191-0/+4
* Fixed stray comma when using eager loading and ordering together from has_man...David Heinemeier Hansson2005-04-191-1/+7
* Speeded up eager loading a whole bunchDavid Heinemeier Hansson2005-04-181-0/+4
* Updated documentation here and thereDavid Heinemeier Hansson2005-04-181-5/+6
* Dont prefix on updates and deletes, only selectsDavid Heinemeier Hansson2005-04-171-1/+1
* Honor the order in the new finderDavid Heinemeier Hansson2005-04-151-0/+1
* Order by is no longer a guarenteeDavid Heinemeier Hansson2005-04-141-1/+1
* Qualify the ids used such that eager loading can avoid ambigious keysDavid Heinemeier Hansson2005-04-133-5/+5
* Removed the default order by id on has_and_belongs_to_many queries as it coul...David Heinemeier Hansson2005-04-131-7/+13
* Moved build_association and create_association for has_one and belongs_to out...David Heinemeier Hansson2005-04-121-1/+0
* No conditions relevant hereDavid Heinemeier Hansson2005-04-111-1/+1
* More eager fixesDavid Heinemeier Hansson2005-04-031-3/+1
* Made eager loading work even moreDavid Heinemeier Hansson2005-04-032-14/+10
* Added new Base.find API and deprecated find_all, find_first. Added preliminar...David Heinemeier Hansson2005-04-031-0/+5
* Added that model.items.delete(child) will delete the child, not just set the ...David Heinemeier Hansson2005-04-021-5/+9
* Dont load the target before the proxy has had a chance to answer the respond_...David Heinemeier Hansson2005-03-291-2/+1
* Added destruction of dependent objects in has_one associations when a new ass...David Heinemeier Hansson2005-03-062-2/+11
* Fixed that HasManyAssociation#count was using :finder_sql rather than :counte...David Heinemeier Hansson2005-03-061-1/+3
* Fixed that association#count would produce invalid sql when called sequential...David Heinemeier Hansson2005-02-281-3/+3
* Optimized the SQL used to generate has_and_belongs_to_many queries by listing...David Heinemeier Hansson2005-02-221-1/+1
* 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-252-8/+16
* Added that has_and_belongs_to_many associations with additional attributes al...David Heinemeier Hansson2005-01-241-13/+24
* Fixed that find_all would produce invalid sql when called sequentialy #490 [S...David Heinemeier Hansson2005-01-201-1/+1
* Fixed that the belongs_to and has_one proxy would fail a test like 'if projec...David Heinemeier Hansson2005-01-184-23/+8
* Only remember that an association was loaded if it was foundDavid Heinemeier Hansson2005-01-171-1/+1
* belongs_to association should always honor a present foreign key and conditio...David Heinemeier Hansson2005-01-173-23/+33
* Added support for associating unsaved objects #402 [Tim Bates]David Heinemeier Hansson2005-01-156-101/+272
* 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 conditions in has_many and has_and_belongs_to_many should be inter...David Heinemeier Hansson2005-01-072-2/+2
* Fixed that the overwritten respond_to? method didn't take two parameters like...David Heinemeier Hansson2005-01-031-2/+2
* Fixed the last details to please DB2David Heinemeier Hansson2005-01-031-1/+1
* Added HasManyAssociation#count that works like Base#count #413 [intinig]David Heinemeier Hansson2005-01-021-0/+11
* Added that Base#find takes an optional options hash, including :conditions. B...David Heinemeier Hansson2005-01-013-56/+93
* Fixed that options[:counter_sql] was overwritten with interpolated sql rather...David Heinemeier Hansson2004-12-221-1/+2
* Fixed that Base.table_name would expect a parameter when used in has_and_belo...David Heinemeier Hansson2004-12-221-1/+1
* Added automatic transaction block around AssociationCollection.<<, Associatio...David Heinemeier Hansson2004-12-151-8/+17
* Fixed that has_and_belongs_to_many would generate bad sql when naming convent...David Heinemeier Hansson2004-12-141-4/+4
* Fixed value quoting in all generated SQL statements, so that integers are not...David Heinemeier Hansson2004-12-073-14/+18
* Fixed has_and_belongs_to_many guessing of foreign key so that keys are genera...David Heinemeier Hansson2004-12-071-1/+1
* Added counter_sql option for has_many associations [bitsweat]David Heinemeier Hansson2004-12-071-6/+12