aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Add support for namespaced validatorsSamuel Kadolph2010-12-111-0/+8
* Test using default option as symbol added for human_attribute_nameSantiago Pastorino2010-12-051-0/+5
* default could be a symbol here so attribute.to_s.humanize should be the final...Santiago Pastorino2010-12-051-0/+4
* Test falling back to default added for human_attribute_nameSantiago Pastorino2010-12-051-0/+4
* Test using default option added for human_attribute_nameSantiago Pastorino2010-12-051-0/+4
* ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json ser...Thilo Utke2010-12-013-9/+15
* Revert "Fix generation of wrong json string when field has multiple errors"José Valim2010-12-011-10/+0
* Fix generation of wrong json string when field has multiple errorsKrekoten' Marjan2010-12-011-0/+10
* do not require ruby-debug automatically. please require it if you have decla...Aaron Patterson2010-11-191-6/+0
* Allowing to_xml :camelize option to be set to :lower to enable lower-camelcas...Jeremy Holland2010-11-031-0/+7
* Test to_model being called in ActiveModel::Naming helpersErnie Miller2010-10-041-0/+4
* after_create in ActiveModel should in the order specifiedNeeraj Singh2010-09-271-0/+30
* Don't act destructively on ActiveModel::Name#human options hash. [#5366 state...John Firebaugh2010-09-252-0/+10
* Properly interpolate i18n keys in modules [#5572 state:resolved]Rodrigo Rosenfeld Rosas2010-09-241-0/+19
* Better shortcut options for custom validators [#5672 state:resolved]Obie Fernandez2010-09-241-0/+9
* fixed some issues with JSON encodingJakub Suder2010-09-071-0/+27
* Prepared ActiveModel::Naming to handle cases for namespaced isolated enginesPiotr Sarnacki2010-09-031-0/+99
* adding new test for ActiveModel::SerializationNeeraj Singh2010-08-311-0/+45
* Remove deprecations in ActiveModel.José Valim2010-08-291-36/+0
* after_validation should be called irrespective of the result of validation.Neeraj Singh2010-08-201-0/+2
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-171-3/+3
* Adding missing required statementSubba Rao Pasupuleti2010-08-141-0/+1
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-145-14/+14
* no callbacks should be created for empty array [#5289 state:resolved]Subba Rao Pasupuleti2010-08-121-0/+14
* Add missing ActiveModel::Validations requireGreg Campbell2010-08-121-1/+0
* Failing test for validates_length_of, when both too_short and too_long messag...rohit2010-08-031-0/+14
* Remove or fix non-working examples and add a few tests to Dirty [#5185 state:...Tore Darell2010-08-031-5/+85
* adding test cases for ActiveModel::ErrorsNeeraj Singh2010-08-031-0/+65
* ActiveModel::Errors json serialization to work as Rails 3b4 [#5254 state:reso...Alex Le2010-08-022-4/+20
* Reuse already existing classes for ActiveModel tests.José Valim2010-07-212-63/+39
* Moved a few methods from RecordIdentifier to ActiveModel::NamingPiotr Sarnacki2010-07-211-0/+63
* Avoid interpreted as grouped expression warningsSantiago Pastorino2010-07-112-4/+4
* mass_assignment_security moved from AR to AMo, and minor test cleanupJosh Kalderimis2010-07-085-0/+175
* Missing BigDecimal dependencyJeremy Kemper2010-06-271-0/+2
* Work around the fact the JSON gem was overwriting to_json implementation for ...José Valim2010-06-262-7/+16
* Regression with how base errors messages are added to a model. Works correctl...Josh Kalderimis2010-06-231-3/+18
* should be able to run ActiveModel validations_test [#4933 state:resolved]Neeraj Singh2010-06-221-0/+1
* Avoid method redefined warningSantiago Pastorino2010-06-221-1/+2
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-06-212-379/+210
* ActiveModel::Validations::Callbacks should not be required by default.José Valim2010-06-191-0/+1
* moving before_validation and after_validation functionality from ActiveRecord...Neeraj Singh2010-06-191-0/+76
* Really make include_root_in_json default to true [#3770 state:resolved]José Valim2010-06-081-15/+21
* Fix xml serialization test [#4650 state:resolved]Anil Wadghule2010-05-191-2/+5
* Use better assertion methods for testingNeeraj Singh2010-05-194-5/+5
* Add a valid hex that shouldn't be valid to ActiveModel numericality tests [#4...rohit2010-05-181-1/+1
* Valid hex strings aren't valid float column values, to match the integer rest...Jeremy Kemper2010-05-171-1/+1
* Make use of assert_equal to test equallity between object assert expects and ...Santiago Pastorino2010-05-162-3/+3
* Revert "Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an opt...José Valim2010-05-152-73/+73
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-05-152-73/+73
* validation macros can now be used within an instanceJosh Kalderimis2010-05-131-0/+13