aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Allow association scoping for built/created records if :conditions is specifi...Rick Olson2008-03-211-3/+7
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-211-15/+41
* Docfixes (closes #11356, #11172, #10523)David Heinemeier Hansson2008-03-201-0/+3
* Improve performance on :include/:conditions/:limit queries by selectively joi...Michael Koziarski2008-03-031-10/+27
* Fix that batched :include would pull in duplicate records in some cases. Clos...Jeremy Kemper2008-02-281-2/+4
* Improve associations performance by using symbol callbacks instead of string ...Rick Olson2008-02-141-50/+90
* Introduce the :readonly option to all associations. Records from the associat...Jeremy Kemper2008-02-131-5/+13
* Fix eager loading with pre-quoted table names. Closes #11046 [danielmorrison,...Michael Koziarski2008-02-111-2/+2
* Revert r8742: remove has_many with :group option since it has sketchy sql sup...Jeremy Kemper2008-02-031-6/+0
* Make sure count works on has_many :through associations using :group. Closes...Michael Koziarski2008-01-271-0/+6
* Indicate in documentation that newer version of AR support eager loading in p...Marcel Molina2008-01-231-1/+5
* belongs_to supports :dependent => :destroy and :delete. Closes #10592.Jeremy Kemper2008-01-191-0/+19
* Introduce preload query strategy for eager :includes. Closes #9640.Jeremy Kemper2008-01-191-1/+5
* Document that .build doesn't apply to has_many :through associations. Closes ...Jeremy Kemper2008-01-051-1/+1
* Document that eager loading doesn't work with polymorphic associations. Close...Jeremy Kemper2008-01-041-0/+17
* Don't unnecessarily load has_many associations in after_update callbacks. Cl...Rick Olson2007-12-281-1/+5
* Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized instance ...Jeremy Kemper2007-12-221-189/+207
* Eager belongs_to :include infers the foreign key from the association name ra...Jeremy Kemper2007-12-211-3/+3
* Fix typo in documentation for polymorphic associations w/STI. Closes #7461 [j...Marcel Molina2007-12-051-2/+2
* Fix typos (closes #10378)David Heinemeier Hansson2007-12-051-1/+1
* Fix that options[:from] table names should never be quoted [DHH]David Heinemeier Hansson2007-12-051-1/+1
* Ensure that column names are quoted. Closes #10134 [wesley.moxam]Michael Koziarski2007-11-101-31/+48
* Removed unused code (closes #9906)David Heinemeier Hansson2007-11-091-4/+0
* Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]Marcel Molina2007-11-081-15/+14
* Address shortcomings of changeset [8054] [protocool]David Heinemeier Hansson2007-11-071-73/+24
* Update association/method mapping table to refected latest collection methods...Marcel Molina2007-11-061-6/+6
* Introduce finder :joins with associations. Same :include syntax but with inne...Jeremy Kemper2007-10-291-14/+89
* Associations: speedup duplicate record check. Closes #10011.Jeremy Kemper2007-10-291-1/+28
* Allow association redefinition in subclasses. Closes #9346.Jeremy Kemper2007-10-271-2/+4
* Fix has_many :through delete with custom foreign keys. Closes #6466.Jeremy Kemper2007-10-271-0/+6
* Limited eager loading no longer ignores scoped :order. Closes #9561 [danger, ...Marcel Molina2007-10-231-6/+4
* Fix regression where the association would not construct new finder SQL on sa...Jeremy Kemper2007-10-161-4/+4
* Add notes to documentation regarding attr_readonly behavior with counter cach...Rick Olson2007-10-141-0/+3
* Ensure that 'autosaving' works when associations aren't loaded [Bryan Helmkam...Michael Koziarski2007-10-101-6/+9
* Update :dependent docs and improve its argument error message.Jeremy Kemper2007-10-091-34/+32
* belongs_to infers the foreign key from the association name instead of from t...Jeremy Kemper2007-10-081-1/+1
* Don't call attr_readonly on polymorphic belongs_to associations, in case it m...Rick Olson2007-10-051-1/+1
* Add attr_readonly to specify columns that are skipped during a normal ActiveR...Rick Olson2007-09-301-1/+5
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-2/+2
* Correctly quote id list for limited eager loading. Closes #7482.Jeremy Kemper2007-09-221-2/+4
* Associations macros accept extension blocks alongside modules. Closes #9346.Jeremy Kemper2007-09-171-6/+6
* Eager loading respects explicit :joins. Closes #9496.Jeremy Kemper2007-09-151-1/+1
* Remove deprecated functionality from edge rails. Closes #9387 [lifofifo]Michael Koziarski2007-09-031-56/+5
* Formatting, grammar and spelling fixes for the associations documentation. [s...Michael Koziarski2007-08-281-158/+158
* Fixed that eager loading queries and with_scope should respect the :group opt...David Heinemeier Hansson2007-08-211-4/+3
* Fixed that eager loading queries should respect the :group option as well [DHH]David Heinemeier Hansson2007-08-211-0/+4
* tiny doc patches [lifo]Rick Olson2007-07-251-2/+2
* Change belongs_to so that the foreign_key assumption is taken from the associ...Rick Olson2007-07-161-6/+0
* Define collection singular ids method for has_many :through associations. Clo...Jeremy Kemper2007-06-271-2/+3
* Fix polymorphic has_one associations declared in an abstract class. Closes #8...Jeremy Kemper2007-06-251-9/+1