aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Ensure hm:t#create/create! throws ActiveRecord::RecordNotSaved when the owner...Pratik Naik2009-08-081-0/+4
* Merge docrailsPratik Naik2009-07-251-2/+2
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-152-5/+27
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-014-28/+16
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-224-16/+28
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-214-28/+16
* Ensure hm:t#create respects source associations hash conditions [#2090 state:...mattbauer2009-06-211-0/+7
* HasOneThroughAssociation still shouldn't derive from HasManyThroughAssociation.Adam Milligan2009-06-123-160/+164
* HasOneAssociation inherits AssociationProxy since it shares nothing with Belo...Emilio Tagua2009-06-121-5/+5
* Ensure HasManyThroughAssociation#destroy delete orphan records [#2251 state:r...Luca Guidi2009-05-181-0/+7
* Implement #many? for NamedScope and AssociationCollection using #size [#1500 ...Chris Kampmeier2009-05-171-0/+9
* has_one :through should not create a new association when assigned nil [#698 ...Daniel Guettler2009-05-171-8/+8
* Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"Jeremy Kemper2009-05-111-1/+1
* Providing support for :inverse_of as an option to associations.Murray Steele2009-05-046-9/+51
* Fixed bug with polymorphic has_one :as pointing to an STI recordRuy Asan2009-05-011-1/+1
* Ensure JoinAssociation uses aliased table name when multiple associations hav...Pratik Naik2009-04-201-2/+2
* Merge docrailsPratik Naik2009-03-161-5/+9
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-121-19/+32
* Add tests for AssociationCollection#find_each and AssociationCollection#find_...Pratik Naik2009-03-111-1/+1
* Ensure has_many :through works with changed primary keys [#736 state:resolved]Jim Remsik and Tim Pope2009-03-091-1/+1
* Fix RDoc grammar and ensure hm:t tests can run in isolation. [#1644 state:res...Adam Milligan2009-03-071-2/+2
* Ensure replacing has_one associations respects the supplied :dependent option...Dimitri Krassovski2009-03-061-2/+11
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-273-6/+6
* Cache columns for has_and_belongs_to_many associationslukeludwig2009-01-171-3/+9
* Fix HasManyAssociation#create ignoring the :primary_key option [#1633 state:r...Roman Shterenzon2008-12-271-1/+4
* Fix has many through not quoting table names [#1163 state:resolved]Karthik Krishnan2008-12-201-3/+3
* Fix preloading of has_one :through associations on belongs_to [#1507 state:re...Matt Jones2008-12-181-1/+5
* Revert "Fix: counter_cache should decrement on deleting associated records."Jeremy Kemper2008-12-101-3/+0
* Fix: counter_cache should decrement on deleting associated records.Emilio Tagua2008-12-101-0/+3
* Make NoMethodError message more descriptive when an undefined message has bee...Mike Ferrier2008-12-041-1/+4
* Add :having option to find, to use in combination with grouped finds. Also ad...miloops2008-12-011-0/+1
* fix assignment to has_one :through associations.Matt Jones2008-11-151-4/+3
* Merge with docrails. Also add a rake task to generate guides in your rails ap...Pratik Naik2008-10-212-1/+8
* Ensure association proxy responds to private class methods defined in associa...Pratik Naik2008-10-161-2/+2
* Allow class methods to be sent (via #send) to association proxy (fix for bug ...Ian White2008-10-161-0/+4
* Ensure methods called on association proxies respect access control. [#1083 s...Pratik Naik2008-10-132-1/+12
* 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