aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations
Commit message (Expand)AuthorAgeFilesLines
* To infinity… and beyond!Niels Ganser2012-02-061-0/+18
* Removing unwanted method and adding to accessor for getter historyprasath2012-01-251-4/+3
* added :other_than => :!= option to numericality validatorJakub Kuźma2011-12-211-0/+7
* Remove dead code from AMo.José Valim2011-12-201-47/+37
* Fixed test "ArgumentError: wrong number of arguments(1 for 0)"Arun Agrawal2011-12-171-1/+1
* Fixed bug when error message is an empty string.Antonio Roberto2011-12-161-0/+6
* Update variable's name in the test case to reflect the class we're testingPrem Sichanugrist2011-11-183-24/+24
* Follow code conventions on some testsSebastian Martinez2011-05-104-29/+29
* No need to rescue here. Invoking the wrong method in an object can happen any...José Valim2011-04-113-34/+0
* Revert "Add :use_include option to allow user to explicitly use `Range#includ...José Valim2011-04-112-19/+0
* Add :use_include option to allow user to explicitly use `Range#include?` meth...Prem Sichanugrist2011-04-102-0/+19
* Add support for proc or lambda as an option for InclusionValidator, Exclusion...Prem Sichanugrist2011-04-103-0/+82
* Refactor length validationSantiago Pastorino2011-03-121-3/+3
* length validation for fixnumsAndriy Tyurnikov2011-03-121-0/+11
* Active Model typos.R.T. Lechow2011-03-051-1/+1
* Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]"Santiago Pastorino2011-02-271-19/+0
* Change validates inclusion to use cover? for Ranges in ruby 1.9 [#6453 state:...Frederick Cheung2011-02-181-0/+9
* Optionally pass in the attribute being validated to an instance method validatorCarl Lerche2011-02-051-0/+9
* Be able to pass a validator method to #validatesCarl Lerche2011-02-051-0/+12
* Provide a way to specify alternate option keys for validatesCarl Lerche2011-02-051-0/+11
* Do not require that validation attributes be specified as symbolsCarl Lerche2011-02-051-0/+11
* Add support for namespaced validatorsSamuel Kadolph2010-12-161-0/+8
* 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
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-4/+4
* Failing test for validates_length_of, when both too_short and too_long messag...rohit2010-08-031-0/+14
* Missing BigDecimal dependencyJeremy Kemper2010-06-271-0/+2
* Work around the fact the JSON gem was overwriting to_json implementation for ...José Valim2010-06-261-1/+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
* 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-161-2/+2
* 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
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-0913-27/+2
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-097-7/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-0811-247/+188
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-038-37/+37
* Fix validates_numericaly_of only integer error message [#4406 state:resolved]reu2010-04-251-9/+9
* errors.rb needs to be declared as UTF-8 [#3941 state:resolved]Aaron Patterson2010-04-021-0/+10
* Accept array of attributes as arg also, like 2.3Jeremy Kemper2010-02-251-10/+16
* Add validators reflection so you can do 'Person.validators' and 'Person.valid...Prem Sichanugrist2010-02-211-0/+1
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-14/+14
* Fix typos and add tests to ensure they will be caught the next time.José Valim2010-01-111-0/+8
* Fix typo by renaming :genre to :gender.José Valim2010-01-091-6/+6
* Allow validates to map some types to specific options. So now you can do:José Valim2010-01-081-11/+37
* Compile length validator options still at the class level, so whenever the va...José Valim2010-01-081-4/+2