aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
| | * Enable the sqlite3 in-memory test connection to workJon Leighton2011-01-115-17/+25
| | * has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-113-10/+30
| | * Fix polymorphic belongs_to associationproxy raising errors when loading target.Ernie Miller2011-01-112-0/+11
| | * 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-074-12/+4
| | * Use encode_with for marshallingJon Leighton2011-01-071-0/+7
| | * send() will raise an ArgumentError, so we should leverage rubyAaron Patterson2011-01-071-1/+1
| | * 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-036-15/+22
| | * 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-036-23/+61
| | * 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-033-2/+33
| | * 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-312-0/+13
| | * 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-312-1/+25
| | * Refactor configure_dependency_for_has_many to use AssociationCollection#delet...Jon Leighton2010-12-311-3/+4
| | * Make sure Model#touch doesn't try to update non existing columnsPratik Naik2010-12-301-1/+3
| | * Make serialized fixtures work againPratik Naik2010-12-295-4/+18
| | * 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
| | * Associations: DRY up the code which is generating conditions, and make it all...Jon Leighton2010-12-261-1/+0
| | * Fix dodgy tests which were effectively asserting nil == nilJon Leighton2010-12-262-3/+4
| | * using arel to compile sql statementsAaron Patterson2010-12-252-1/+2
| | * 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-232-4/+10
| | * If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-238-31/+88
| | * 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-232-0/+7
| | * 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