aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Fix has_many :through when the source is a belongs_to association. [#323 stat...Zach Dennis2008-10-041-0/+11
* Try reloading model on class mismatch [#229 state:resolved]Lawrence Pit2008-10-041-1/+1
* Make AssociationCollection start transactions in the correct database.Hongli Lai (Phusion)2008-09-232-6/+21
* Association#first and last should not load the association if not needed. [#1...Jan De Poorter2008-09-221-3/+4
* Update the documentation to reflect the change handling :group earlierMichael Koziarski2008-09-161-1/+4
* When counting grouped records the target should be loaded to return a valid g...miloops2008-09-151-0/+2
* Revert "Add :accessible option to Associations for allowing mass assignments ...Pratik Naik2008-09-101-6/+0
* Add special AssociationReflection methods for creating association objects, a...Hongli Lai (Phusion)2008-09-094-14/+25
* Merge docrailsPratik Naik2008-09-033-15/+92
* 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