aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 support.Ernie Miller2008-08-281-26/+0
* Implement count limit/offset support for has_many associationsTarmo Tänav2008-08-271-1/+10
* Fix has_many#count_records. [#865 state:resolved]Xavier Noria2008-08-211-2/+5
* Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved]Cheah Chu Yeow2008-07-091-2/+2
* Add has_many :primary_key option to allow setting the primary key on a has ma...Andre Arko2008-07-061-0/+8
* Extract owner_quoted_id so it can be overridden. [#292 state:committed]Andre Arko2008-06-251-3/+3
* fix eager loading with dynamic findersBrandon Keepers2008-06-091-1/+1
* Ensure AssociationCollection#count works with empty condition. [#271 state:re...Pratik Naik2008-05-291-1/+1
* Remove duplicate code from associations. [Pratik]Pratik Naik2008-04-061-41/+0
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Associ...Pratik Naik2008-04-061-8/+0
* Ensure HABTM#create and HABTM#build do not load entire association. [Pratik]Pratik Naik2008-04-051-19/+0
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-241-1/+4
* More thoroughly quote table names. Exposes some issues with sqlite2 adapter. ...Jeremy Kemper2008-01-051-3/+3
* Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized instance ...Jeremy Kemper2007-12-221-2/+2
* Dynamic finders on association collections respect association :limit. Closes...Jeremy Kemper2007-11-211-1/+1
* Make Dynamic Finders on Association Collections Respect Association :order [p...Michael Koziarski2007-11-211-1/+1
* 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-161-7/+1
* Removed unused @join_sql reference (closes #9174) [danger]David Heinemeier Hansson2007-09-221-1/+1
* Fix association writer with :dependent => :nullify. Closes #7314.Jeremy Kemper2007-09-141-8/+11
* 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
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-241-1/+1
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifo...Rick Olson2007-07-161-1/+1
* Remove deprecated find_first and find_all.Jeremy Kemper2007-06-111-19/+0
* Simplify association proxy implementation by factoring construct_scope out of...Jeremy Kemper2006-11-191-20/+6
* update deprecations to include alternative methods (where available)Jamis Buck2006-10-241-2/+2
* The has_many create method works with polymorphic associations. Closes #6361.Jeremy Kemper2006-10-081-4/+5
* Deprecation: count class method should be called with an options hash rather ...Jeremy Kemper2006-09-261-1/+1
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count ...Jeremy Kemper2006-09-151-0/+2
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-2/+2
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-2/+2
* Rename quote to quote_value so the name can be used in AR models. #3628 [Koz]Michael Koziarski2006-09-041-1/+1
* Allow #count through a has_many association to accept :include. [Dan Peterson]Rick Olson2006-07-241-0/+1
* Fixed that has_many.create ended up with duplicate objects (closes #5250) [da...David Heinemeier Hansson2006-06-031-1/+1
* Minor style tweaksDavid Heinemeier Hansson2006-05-211-6/+2
* Fixed that has_many collections shouldn't load the entire association to do b...David Heinemeier Hansson2006-05-211-2/+27
* Allow :uniq => true with has_many :through associations.Jeremy Kemper2006-05-061-8/+0
* Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base...Rick Olson2006-04-191-4/+7
* Fix HasManyAssociation#find bugs when :finder_sql is set (closes #4600) [lagr...David Heinemeier Hansson2006-04-061-1/+1
* Use association's :conditions when eager loading. [jeremyevans0@gmail.com] cl...Rick Olson2006-03-161-3/+2
* Added Base.abstract_class? that marks which classes are not part of the Activ...Rick Olson2006-03-161-1/+1
* save polymorphic joins from the has_many|one association (closes #3812) [Rick...David Heinemeier Hansson2006-02-121-2/+2
* Using AssociationCollection#build with arrays of hashes should call build, no...David Heinemeier Hansson2006-02-031-1/+1
* Fix .count for has_many associations with multi-line finder-sql. Closes #3540 Michael Koziarski2006-01-211-1/+2
* Added option inheritance for find calls on has_and_belongs_to_many and has_ma...David Heinemeier Hansson2005-12-131-9/+8
* Added preliminary support for join models [DHH] Added preliminary support for...David Heinemeier Hansson2005-12-031-53/+52
* Work-in progress for providing better join model support and polymorphic asso...David Heinemeier Hansson2005-12-021-7/+14
* 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-061-5/+15