aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 support.Ernie Miller2008-08-284-36/+39
* Implement count limit/offset support for has_many associationsTarmo Tänav2008-08-271-1/+10
* respond_to? passes along splat args to avoid introducing the second arg if it...Jeremy Kemper2008-08-271-2/+2
* Fix two has_one :through errorspivotal2008-08-271-0/+4
* Ruby 1.9 compat: Hash is now flattenable, so explicitly exclude itJeremy Kemper2008-08-231-1/+1
* Fix has_many#count_records. [#865 state:resolved]Xavier Noria2008-08-211-2/+5
* Fix that has_one natural assignment to already associated record. [#854 state...Jakub Kuźma2008-08-211-2/+2
* Updated has_and_belongs_to_many association to fix :finder_sql interpolation....Nathan Witmer2008-08-162-7/+1
* Use type_condition method for hmt STI conditionTarmo Tänav2008-08-151-1/+1
* Fixed AssociationCollection#<< resulting in unexpected values in @target when...Ernie Miller2008-08-081-1/+1
* Fix file permissionsTarmo Tänav2008-07-313-0/+0
* Add :accessible option to Associations for allowing mass assignments using ha...David Dollar2008-07-141-0/+6
* Add block syntax to HasManyAssociation#build. [#502 state:resolve]Jason Dew2008-07-141-3/+6
* Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved]Cheah Chu Yeow2008-07-092-3/+3
* Add support for :primary_key option to has_one as well as has_many so that a ...Brad Greenlee2008-07-061-1/+10
* Add has_many :primary_key option to allow setting the primary key on a has ma...Andre Arko2008-07-061-0/+8
* Ensure AssociationCollection#size considers all unsaved record. [#305 state:r...Pratik Naik2008-07-021-1/+1
* Cache sanitized conditions in reflection object for associationsPratik Naik2008-06-271-1/+1
* Extract owner_quoted_id so it can be overridden. [#292 state:committed]Andre Arko2008-06-255-11/+15
* fix eager loading with dynamic findersBrandon Keepers2008-06-092-1/+2
* Add ActiveRecord::Base.sti_name that checks ActiveRecord::Base#store_full_sti...rick2008-05-311-1/+1
* belongs_to polymorphic association assignments update the foreign_id and fore...Tim Harper2008-05-311-4/+2
* Ensure AssociationCollection#count works with empty condition. [#271 state:re...Pratik Naik2008-05-291-1/+1
* Merge docrails.Pratik Naik2008-05-252-3/+3
* Create through associations can now work with blocks.Ryan Bates2008-05-241-2/+8
* Added :select option to has_one and belongs_to, remove unused :order option o...josevalim2008-05-243-6/+9
* Verbose ActiveRecord::AssociationTypeMismatch exception message. [#189 state:...Pratik Naik2008-05-211-1/+2
* Add first/last methods to associations/named_scope. [#226 state:resolved]Ryan Bates2008-05-201-1/+24
* - Updated tzinfo to use Rational() instead of Rational.new! due to "private m...Nate Wiger2008-05-191-1/+1
* Calling ActiveRecord#inspect on an unloaded association won't wipe the collec...Andreas Neuhaus2008-05-081-2/+2
* Improve documentation coverage and markupXavier Noria2008-05-021-0/+10
* best solution?Steven Soroka2008-05-011-2/+2
* Fixes a subtle bug when using symbols for key definitions in habtm associationsDavid Dollar2008-04-231-3/+3
* Fix include? on has_many collections with finder_sql to fall back to Array in...Joshua Bates2008-04-231-0/+1
* 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