aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* Don't clobber :includes passed to count on has_many association. Closes #9175...Michael Koziarski2007-08-161-1/+1
* Make sure has_many associations honour :include when counting. Closes #9167 [...Michael Koziarski2007-08-161-1/+1
* Make habtm respect the :select option. Closes #9207. [Aleksey Kondratenko]Michael Koziarski2007-08-071-1/+2
* Ensure that has_many :through associations use a count query instead of loadi...Rick Olson2007-07-251-0/+7
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-244-7/+3
* Fix #count on a has_many :through association so that it recognizes the :uniq...Rick Olson2007-07-201-0/+10
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifo...Rick Olson2007-07-161-1/+1
* Make create! on a has_many :through association return the association objec...Michael Koziarski2007-07-111-1/+2
* Move from select * to select tablename.* to avoid clobbering IDs. Closes #888...Michael Koziarski2007-07-071-0/+1
* Remove deprecated find_first and find_all.Jeremy Kemper2007-06-111-19/+0
* Remove deprecated push_with_attributes.Jeremy Kemper2007-06-111-22/+5
* with_scope is protected. Closes #8524.Jeremy Kemper2007-05-303-7/+7
* Sanitize Base#inspect. Closes #8392.Jeremy Kemper2007-05-181-1/+2
* Improve Performance of calling create on has_many :through associations by av...Michael Koziarski2007-04-261-7/+5
* Allow a polymorphic :source for has_many :through associations. Closes #7143...Rick Olson2007-03-131-1/+11
* Fix has_many :through << with custom foreign keys. Closes #6466, #7153.Jeremy Kemper2007-03-051-1/+1