aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-302-1/+32
* Fixing incorrectly writtent testcaseAlexey Nayden2011-01-281-2/+2
* test_first_and_array_index_zero_methods_return_the_same_value_when_nested_att...Alexey Nayden2011-01-281-0/+9
* fixing bug where 1.8 hangs while running pg testsAaron Patterson2011-01-181-1/+1
* fixing unused variable warningsAaron Patterson2011-01-171-3/+3
* Removed support for accessing attributes on a has_and_belongs_to_many join ta...Jon Leighton2011-01-162-92/+0
* belongs_to records should be initialized within the association scopeJon Leighton2011-01-161-0/+21
* Add create_association! for belongs_toJon Leighton2011-01-161-0/+17
* transactional fixtures must be set to false for this testAaron Patterson2011-01-141-1/+1
* preheat the table cache in arelAaron Patterson2011-01-141-0/+1
* Add missing requireSantiago Pastorino2011-01-141-0/+1
* include_in_memory? should check against @target list in case of new records. ...Aaron Patterson2011-01-121-0/+7
* 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
* DRY up the code which instantiates the association proxyJon Leighton2011-01-111-13/+0
* 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-119-43/+51
* When assigning a has_one, if the new record fails to save, raise an errorJon Leighton2011-01-112-16/+16
* When assigning a has_one, if the existing record fails to be removed from the...Jon Leighton2011-01-111-0/+12
* Enable the sqlite3 in-memory test connection to workJon Leighton2011-01-114-8/+15
* 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
* Always return decimal average of integer fieldsRaimonds Simanovskis2011-01-101-0/+5
* use SQLite3::VERSION rather than the deprecated classAaron Patterson2011-01-101-1/+1
* Add test for e0e3adfJeremy Kemper2011-01-071-0/+6
* Don't not remove double negativesJon Leighton2011-01-071-1/+1
* Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-073-11/+4
* Use encode_with for marshallingJon Leighton2011-01-071-0/+7
* just use a hash for doing association cachingAaron Patterson2011-01-073-4/+3
* adding an `encode_with` method for Psych dump/load methodsAaron Patterson2011-01-051-0/+7
* make sure new objects can round tripAaron Patterson2011-01-051-0/+6
* make sure that Psych can roundtrip an AR objectAaron Patterson2011-01-051-0/+13
* 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
* ActiveRecord::Relation#primary_key should return a string, just like ActiveRe...Jon Leighton2011-01-031-0/+4
* Implement deprecated version of AssociationReflection#primary_key_name, which...Jon Leighton2011-01-031-0/+12
* When preloading a belongs_to, the target should still be set (to nil) if ther...Jon Leighton2011-01-031-0/+9
* Make Relation#create_with always merge rather than overwrite, not just when m...Jon Leighton2011-01-031-0/+10
* Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-033-14/+12
* Fix test_any in relations_test.rb, which was failing when relations_test.rb i...Jon Leighton2011-01-031-0/+8
* 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