aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Use define_callbacks helper for ActiveRecord validations.Joshua Peek2008-04-201-9/+9
* Fix migrations when migrating to a specified version number with a fresh data...Ian White2008-04-171-1/+8
* Revert "Ensure that save on child object fails for invalid belongs_to associa...Michael Koziarski2008-04-111-12/+0
* Ensure that save on child object fails for invalid belongs_to association. Cl...Pratik Naik2008-04-101-0/+12
* Add support for interleaving migrations by storing which migrations have run ...Rick Olson2008-04-0910-15/+111
* ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes #11550 ...Rick Olson2008-04-081-0/+4
* Improve ActiveRecord::Base#table_name unit tests for nested classes. Closes #...Josh Peek2008-04-072-0/+7
* Ensure that respond_to? considers dynamic finder methods. Closes #11538. [flo...Pratik Naik2008-04-062-11/+87
* Split associations_test.rb into multiple files based on association type. [Pr...Pratik Naik2008-04-067-2382/+2445
* Ensure that save on parent object fails for invalid has_one association. Clos...Pratik Naik2008-04-061-0/+12
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Associ...Pratik Naik2008-04-063-8/+232
* Ensure HABTM#create and HABTM#build do not load entire association. [Pratik]Pratik Naik2008-04-051-13/+27
* Make HABTM#create behave the same as << with after_add callbacks. Closes #11...Michael Koziarski2008-04-041-0/+15
* Don't double include DISTINCT when the user has already specified it. Closes...Michael Koziarski2008-04-041-0/+4
* Tweak ActiveRecord::Base#to_json to include a root value in the returned hash...Rick Olson2008-04-011-0/+25
* Add efficient #include? to AssociationCollection (for has_many/has_many :thro...Rick Olson2008-04-012-0/+90
* Ruby 1.9 compat: force encoding for binary comparison testsJeremy Kemper2008-04-012-2/+6
* Ruby 1.9 compat: work around YAML serialization error exposed by validations ...Jeremy Kemper2008-04-012-20/+20
* Ruby 1.9 compat: delete DEFAULTS key from Hash not Omap arrayJeremy Kemper2008-04-011-1/+0
* PostgreSQL: create_ and drop_database support. Closes #9042.Jeremy Kemper2008-04-011-0/+24
* Fix migration test when run in GMT zone. Closes #11477 [thechrisoshow]Jeremy Kemper2008-04-011-4/+19
* Ensure that validates_uniqueness_of works with with_scope. Closes #9235. [nik...Pratik Naik2008-03-311-0/+10
* Force timestamp updateJeremy Kemper2008-03-311-0/+1
* Fix case-sensitive validates_uniqueness_of. Closes #11366 [miloops]Jeremy Kemper2008-03-311-0/+24
* Partial updates play nice with updated_at/on timestampsJeremy Kemper2008-03-311-0/+6
* Add :message option to validates_numericality_of. Closes #11456 [miloops, mde...Jeremy Kemper2008-03-311-0/+14
* Partial updates include only unsaved attributes. Off by default; set YourClas...Jeremy Kemper2008-03-314-4/+51
* Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now ...Geoff Buesing2008-03-303-66/+54
* Ruby 1.9: mark failing assertionJeremy Kemper2008-03-301-0/+1
* Ruby 1.9 compat. Trailing whitespace.Jeremy Kemper2008-03-301-29/+28
* Dirty typecasts attribute values before comparison, if possible. Closes #1146...Jeremy Kemper2008-03-291-62/+59
* Fixed that validates_size_of :within works in associations (closes #11295, #1...David Heinemeier Hansson2008-03-291-0/+14
* Track changes to unsaved attributesJeremy Kemper2008-03-291-0/+80
* Switched to UTC-timebased version numbers for migrations and the schema. This...David Heinemeier Hansson2008-03-281-11/+32
* Fix some mistaken dependencies among AR unit tests. Closes #11425 [thechrisos...Jeremy Kemper2008-03-282-3/+3
* Fixed that has_many :through would ignore the hash conditions (closes #11447)...David Heinemeier Hansson2008-03-282-0/+10
* Make sure ActiveRecord tests can run individually. Closes #11425 [thechrisosh...Pratik Naik2008-03-284-3/+18
* Fix issue where the :uniq option of a has_many :through association is ignore...Rick Olson2008-03-261-0/+8
* Fix duplicate table alias error when including an association with a has_many...Rick Olson2008-03-261-1/+6
* Fixed that ActiveRecord#Base.find_or_create/initialize would not honor attr_p...David Heinemeier Hansson2008-03-251-0/+32
* Added ActiveRecord#Base.all/first/last as aliases for find(:all/:first/:last)...David Heinemeier Hansson2008-03-242-0/+12
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-2412-33/+208
* Fix merging blank conditions. Closes #10764 [mcmire, cavalle]Jeremy Kemper2008-03-231-2/+22
* has_one :through supports :source_type. Fix up some tests. References #4756.Jeremy Kemper2008-03-223-6/+24
* Fix schema.rb some more. sponsors.sponsorable_type should be a string. Refere...Jeremy Kemper2008-03-211-1/+1
* Fix schema.rb. Please to be testing on more than just MySQL! References #9067.Jeremy Kemper2008-03-211-24/+24
* Allow association scoping for built/created records if :conditions is specifi...Rick Olson2008-03-212-0/+27
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-2111-2/+145
* Migrations: create_table supports primary_key_prefix_type. Closes #10314.Jeremy Kemper2008-03-181-0/+27
* Added logging for dependency load errors with fixtures (closes #11056) [stuth...David Heinemeier Hansson2008-03-171-0/+14