aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Remove duplicate code from associations. [Pratik]Pratik Naik2008-04-065-164/+70
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Associ...Pratik Naik2008-04-065-77/+50
* Ensure HABTM#create and HABTM#build do not load entire association. [Pratik]Pratik Naik2008-04-053-21/+19
* Improve documentation.Pratik Naik2008-04-051-0/+45
* Replaced callback method evaluation in AssociationCollection class to use Act...Josh Peek2008-04-041-13/+2
* Make HABTM#create behave the same as << with after_add callbacks. Closes #11...Michael Koziarski2008-04-041-4/+3
* Add efficient #include? to AssociationCollection (for has_many/has_many :thro...Rick Olson2008-04-012-1/+6
* Fixed that has_many :through would ignore the hash conditions (closes #11447)...David Heinemeier Hansson2008-03-281-2/+14
* Fix issue where the :uniq option of a has_many :through association is ignore...Rick Olson2008-03-261-5/+3
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-244-5/+16
* Allow association scoping for built/created records if :conditions is specifi...Rick Olson2008-03-211-0/+2
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-211-0/+28
* Add :readonly option to HasManyThrough associations. Closes #11156 [miloops]Pratik Naik2008-03-071-1/+4
* Improve performance by avoiding named block arguments. Closes #11109 [adymo]Michael Koziarski2008-02-293-18/+58
* Remove dead code from hmt#delete. Closes #11236 [rubyruy]Jeremy Kemper2008-02-271-1/+1
* Make dynamic finders respect the :include on HasManyThrough associations. Cl...Michael Koziarski2008-02-181-0/+1
* Revert [8865], broke AP record identifier. Reopens #11109.Jeremy Kemper2008-02-153-29/+19
* Minor formatting changesMichael Koziarski2008-02-142-6/+6
* Improve associations performance by avoiding named block arguments. Closes #1...Rick Olson2008-02-143-18/+28
* Introduce the :readonly option to all associations. Records from the associat...Jeremy Kemper2008-02-133-3/+6
* Revert r8742: remove has_many with :group option since it has sketchy sql sup...Jeremy Kemper2008-02-031-9/+0
* Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondrate...Jeremy Kemper2008-02-021-1/+1
* Make sure count works on has_many :through associations using :group. Closes...Michael Koziarski2008-01-271-0/+9
* Remove dead attr_reader from association proxy. Closes #10668 [danger]Michael Koziarski2008-01-261-1/+0
* Make sure that belongs_to counter decrements when assigning nil Closes #10804...Michael Koziarski2008-01-261-1/+1
* Ensure that modifying has_and_belongs_to_many actions clear the query cache. ...Rick Olson2008-01-181-5/+5
* More thoroughly quote table names. Exposes some issues with sqlite2 adapter. ...Jeremy Kemper2008-01-054-18/+18
* Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized instance ...Jeremy Kemper2007-12-223-16/+35
* Ensure that the :uniq option for has_many :through associations retains the o...Rick Olson2007-12-111-1/+2
* post.comments.reload returns the association rather than the result of load_t...Jeremy Kemper2007-12-101-14/+15
* Fixed that habtm associations should be able to set :select as part of their ...David Heinemeier Hansson2007-12-051-2/+2
* Fix typos (closes #10378)David Heinemeier Hansson2007-12-051-1/+1
* Make reset return nil when using a dangling belongs_to association. Current ...Michael Koziarski2007-11-291-1/+1
* Dynamic finders on association collections respect association :limit. Closes...Jeremy Kemper2007-11-213-3/+8
* Make Dynamic Finders on Association Collections Respect Association :order [p...Michael Koziarski2007-11-213-3/+4
* Fix HasManyThrough Association so it uses :conditions on the HasMany Associat...Rick Olson2007-11-111-1/+2
* Make sure that << works on has_many associations on unsaved records. Closes ...Michael Koziarski2007-10-281-0/+1
* Fix has_many :through delete with custom foreign keys. Closes #6466.Jeremy Kemper2007-10-271-8/+14
* Allow find on a has_many association defined with :finder_sql to accept id ar...Marcel Molina2007-10-261-1/+1
* Refactor association create and build so before & after callbacks behave cons...Jeremy Kemper2007-10-163-38/+44
* Alias association #build to #new so it behaves predictably. Closes #8787.Jeremy Kemper2007-10-151-0/+1
* Fix calling .clear on a has_many :dependent=>:delete_all association. [ta...Michael Koziarski2007-10-071-1/+1
* Make size for has_many :through use counter cache if it exists. Closes #9734...Rick Olson2007-09-301-1/+11
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-3/+3
* Removed unnecessary or statement (closes #7158) [richcollins]David Heinemeier Hansson2007-09-221-1/+1
* Removed unused @join_sql reference (closes #9174) [danger]David Heinemeier Hansson2007-09-221-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-182-3/+29
* Fix association writer with :dependent => :nullify. Closes #7314.Jeremy Kemper2007-09-141-8/+11
* Formatting, grammar and spelling fixes for the associations documentation. [s...Michael Koziarski2007-08-285-7/+7