aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
...
* Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-035-23/+60
* Have a proper AssociationReflection#foreign_type method rather than using opt...Jon Leighton2011-01-031-0/+6
* Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-032-1/+31
* herp derpricating add_limit_offset!Aaron Patterson2011-01-031-12/+0
* Added one more failing test for bug #6036Robert Pankowecki (Gavdi)2011-01-041-0/+6
* Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-3/+5
* 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
* Specify the STI type condition using SQL IN rather than a whole load of ORs. ...Jon Leighton2010-12-311-0/+7
* Verify that when has_many associated objects are destroyed via :dependent => ...Jon Leighton2010-12-311-0/+9
* Refactor configure_dependency_for_has_many to use AssociationCollection#delet...Jon Leighton2010-12-311-3/+4
* Make serialized fixtures work againPratik Naik2010-12-293-4/+9
* Allow primary_key to be an attribute when the model is a new recordSantiago Pastorino2010-12-281-1/+1
* stop calling deprecated apisAaron Patterson2010-12-262-5/+5
* Fix dodgy tests which were effectively asserting nil == nilJon Leighton2010-12-261-3/+3
* using arel to compile sql statementsAaron Patterson2010-12-251-1/+1
* take more advantage of arel sql compilerAaron Patterson2010-12-251-1/+1
* stop redifining methods on every call to set_primary_keyAaron Patterson2010-12-242-4/+12
* Verify that there is no unwanted implicit readonly set on Model.has_many_thro...oleg dashevskii2010-12-231-1/+13
* 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
* Improved strategy for updating a belongs_to association when the foreign key ...Jon Leighton2010-12-232-2/+5
* 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-203-0/+14
* if there is no base name, we cannot determine a primary keyAaron Patterson2010-12-201-0/+2
* 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-202-0/+12
* ActiveRecord::Base.joins should allow single nil argument [#6181 state:resolved]Piotr Sarnacki2010-12-161-0/+4
* Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-152-0/+21
* Fix problem with duplicated records when a :uniq :through association is prel...Jon Leighton2010-12-152-2/+15
* Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-153-25/+25
* Provide test for #4840: to_xml doesn't work in such case: Event.select('title...Franck Verrot2010-12-151-0/+6
* 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
* persisted? should be able to return a truthy objectAaron Patterson2010-12-161-8/+8
* Only call save on belongs_to associations if the record has changed or any ne...Chiel Wester2010-12-161-0/+11
* preheating cache so that tests can run in isolationAaron Patterson2010-12-091-0/+5