aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* save polymorphic joins from the has_many|one association (closes #3812) [Rick...David Heinemeier Hansson2006-02-123-4/+12
* Allow has_many :through to work with :include [Michael Schoen]. Closes #3611Michael Koziarski2006-02-101-1/+1
* Polymorphic join support for has_one associations (has_one :foo, :as => :bar)...Jeremy Kemper2006-02-091-2/+8
* Using AssociationCollection#build with arrays of hashes should call build, no...David Heinemeier Hansson2006-02-031-1/+1
* allow has_many :through to work with custom :foreign key (closes #3422) [Rick...David Heinemeier Hansson2006-01-211-2/+1
* Fix .count for has_many associations with multi-line finder-sql. Closes #3540 Michael Koziarski2006-01-212-2/+4
* removed :piggyback in favor of just allowing :select on :through associationsTobias Lütke2005-12-201-5/+1
* made .find() and class method delegation work on :through relationsTobias Lütke2005-12-201-2/+33
* added :piggyback option to has_many :through relationships to pick up values ...Tobias Lütke2005-12-201-1/+9
* Fixed :through relations when using STI inherited classes would use the inher...Tobias Lütke2005-12-161-1/+2
* Added option inheritance for find calls on has_and_belongs_to_many and has_ma...David Heinemeier Hansson2005-12-134-10/+24
* Added tests for join models and fixed a bug #3177David Heinemeier Hansson2005-12-111-1/+1
* Fix has_many :throughDavid Heinemeier Hansson2005-12-071-0/+1
* Added preliminary support for join models [DHH] Added preliminary support for...David Heinemeier Hansson2005-12-038-215/+244
* Work-in progress for providing better join model support and polymorphic asso...David Heinemeier Hansson2005-12-024-12/+84
* has_and_belongs_to_many: use JOIN instead of LEFT JOIN. References #2937.Jeremy Kemper2005-11-211-2/+2
* Don't add the same conditions twice in has_one finder sql. References #2916.Jeremy Kemper2005-11-171-1/+1
* Associations handle case-equality more consistently: item.parts.is_a?(Array) ...Jeremy Kemper2005-11-151-5/+12
* Add :group option, correspond to GROUP BY, to the find method and to the has_...Jeremy Kemper2005-11-101-1/+2
* Added :include as an option for association declarations [DHH]David Heinemeier Hansson2005-11-064-9/+23
* r2915@asus: jeremy | 2005-11-06 05:02:53 -0800Jeremy Kemper2005-11-062-4/+9
* Added extension capabilities to has_many and has_and_belongs_to_many proxies ...David Heinemeier Hansson2005-11-043-8/+24
* Added extension capabilities to has_many and has_and_belongs_to_many proxies ...David Heinemeier Hansson2005-11-031-2/+5
* 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
* HABTM finder sets :readonly => false. Closes #2525.Jeremy Kemper2005-10-201-0/+1
* Parenthesize :conditionsJeremy Kemper2005-10-183-6/+8
* Fix bad commit. (Bad developer, bad\!)Nicholas Seckar2005-10-161-1/+1
* Add __FILE__ and __LINE__ to evalNicholas Seckar2005-10-151-1/+1
* DRYed up Associations#clear. Closes #1906 [Caleb]Tobias Lütke2005-10-143-34/+17
* Fix errors caused by assigning a has-one or belongs-to property to itselfJamis Buck2005-10-132-3/+3
* r3653@asus: jeremy | 2005-09-28 00:23:49 -0700Jeremy Kemper2005-09-281-1/+7
* Wrap :conditions in parentheses to prevent problems with OR's #1871Jamis Buck2005-09-241-1/+1
* Fixed that the create_x method from belongs_to wouldn't save the association ...David Heinemeier Hansson2005-09-201-2/+2
* Fixed saving a record with two unsaved belongs_to associations pointing to th...Jamis Buck2005-09-201-0/+5
* Fixed various problems with has_and_belongs_to_many when using customer finde...David Heinemeier Hansson2005-09-131-6/+5
* Use the inflector rules made for the purposeDavid Heinemeier Hansson2005-09-111-1/+1
* Dont be ambigious about the condition keyDavid Heinemeier Hansson2005-07-222-3/+2
* Added support for calling constrained class methods on has_many and has_and_b...David Heinemeier Hansson2005-07-226-53/+66
* Allow unspecified join-table columns to use to their default values when addi...Jamis Buck2005-07-181-2/+4
* Fixed incompatibility in DB2 adapter with the new limit/offset approach #1718...David Heinemeier Hansson2005-07-171-2/+2
* Added callbacks on push_with_attributes #1594 [Florian Weber]David Heinemeier Hansson2005-07-051-0/+2
* Added callback hooks to association collections #1549 [Florian Weber]David Heinemeier Hansson2005-07-041-2/+31
* Fixed that has_and_belongs_to_many didn't respect single table inheritance ty...David Heinemeier Hansson2005-07-031-0/+9
* Pass association finder arguments through to the association class exactly as...Jeremy Kemper2005-06-241-1/+3
* Fixed that adding a record to a has_and_belongs_to collection would always sa...David Heinemeier Hansson2005-06-181-1/+3
* 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