aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
...
| | * adding a test for no method errorAaron Patterson2011-01-111-0/+52
| | * use underlying _read_attribute method rather than causing NoMethodErrorsAaron Patterson2011-01-111-1/+1
| | * Support for create_association! for has_one associationsJon Leighton2011-01-111-0/+18
| | * Get rid of set_association_target and association_loaded? as the parts of the...Jon Leighton2011-01-111-1/+1
| | * Raise ActiveRecord::RecordNotSaved if an AssociationCollection fails to be re...Jon Leighton2011-01-111-0/+13
| | * When assigning a has_one, if anything fails, the assignment should be rolled ...Jon Leighton2011-01-111-2/+5
| | * In a number of places in the tests, we only need to turn off transactional fi...Jon Leighton2011-01-111-1/+2
| | * When assigning a has_one, if the new record fails to save, raise an errorJon Leighton2011-01-111-14/+14
| | * When assigning a has_one, if the existing record fails to be removed from the...Jon Leighton2011-01-111-0/+12
| | * has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-111-10/+25
| | * Fix polymorphic belongs_to associationproxy raising errors when loading target.Ernie Miller2011-01-111-0/+9
| | * Don't not remove double negativesJon Leighton2011-01-071-1/+1
| | * Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-8/+0
| | * just use a hash for doing association cachingAaron Patterson2011-01-071-2/+2
| | * fixing merge errorsAaron Patterson2011-01-042-78/+0
| | * Remove undocumented feature from has_one where you could pass false as the se...Jon Leighton2011-01-032-36/+7
| | * When preloading a belongs_to, the target should still be set (to nil) if ther...Jon Leighton2011-01-031-0/+9
| | * Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-7/+0
| | * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-033-22/+53
| | * Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-032-1/+31
| | * Support for :counter_cache on polymorphic belongs_toJon Leighton2010-12-311-0/+12
| | * Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh...Jon Leighton2010-12-311-6/+36
| | * Verify that when has_many associated objects are destroyed via :dependent => ...Jon Leighton2010-12-311-0/+9
| | * Fix dodgy tests which were effectively asserting nil == nilJon Leighton2010-12-261-3/+3
| | * Raise an error for associations which try to go :through a polymorphic associ...Jon Leighton2010-12-231-3/+8
| | * If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-233-23/+68
| | * Test to verify that #2189 (count with has_many :through and a named_scope) is...Jon Leighton2010-12-231-0/+5
| | * Revert "Optimize <association>_ids for hm:t with belongs_to source". The opti...Jon Leighton2010-12-231-6/+2
| | * Test demonstrating problem with foo.association_ids where it's a has_many :th...Jon Leighton2010-12-231-0/+4
| | * When a has_many association is not :uniq, appending the same record multiple ...Jon Leighton2010-12-231-0/+10
| | * Fix behaviour of foo.has_many_through_association.select('custom select') [#6...Michał Łomnicki2010-12-231-0/+5
| | * Fix creation of has_many through records with custom primary_key option on be...Szymon Nowak2010-12-231-1/+29
| | * Verify that has_one :through preload respects the :conditions [#2976 state:re...Will Bryant2010-12-231-0/+12
| | * Don't allow a has_one association to go :through a collection association [#2...Jon Leighton2010-12-231-5/+7
| | * Fix for default_scope tests to ensure comparing of equally sorted listsRaimonds Simanovskis2010-12-232-2/+2
| | * removing SQL interpolation, please use scoping and attribute conditionals as ...Aaron Patterson2010-12-221-4/+0
| | * define_attr_method must serialize nil correctlyAaron Patterson2010-12-201-0/+4
| | * has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-0/+12
| | * Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+7
| * | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-209-35/+142
| |\|
| | * Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-151-0/+16
| | * Fix problem with duplicated records when a :uniq :through association is prel...Jon Leighton2010-12-152-2/+15
| | * test for eager load of has_one association with condition on the through tablePivotal Labs2010-12-161-1/+9
| | * Verify that creating a has_many through record where there is a default_scope...Jon Leighton2010-12-161-0/+7
| | * Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-162-1/+13
| | * Fix hm:t to self table aliasing in construct_scopeErnie Miller2010-12-161-1/+1
| | * add test which fails for has_many through self join [#4361 state:open]Joe Hannon2010-12-161-0/+7
| | * fixing whitespace errorsAaron Patterson2010-12-161-4/+4
| * | Clear IdentityMap before continue this test, we can do this here because stor...Emilio Tagua2010-11-191-0/+1
| * | Fix number of queries performed in tests.Emilio Tagua2010-11-191-6/+6