| Commit message (Expand) | Author | Age | Files | Lines |
* | Allow a symbol to be passed to `attribute`, in place of a type object | Sean Griffin | 2015-02-06 | 1 | -1/+1 |
* | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on... | Vipul A M | 2015-02-03 | 1 | -1/+0 |
* | Ensure numericality validations work with mutation | Sean Griffin | 2014-12-01 | 1 | -0/+13 |
* | Build fix when running in isolation | Arun Agrawal | 2014-11-14 | 1 | -0/+1 |
* | Add AR::Base#validate! method | Bogdan Gusiev | 2014-06-23 | 1 | -0/+14 |
* | Merge pull request #10662 from take/change-test-name-for-ActiveRecord--Valida... | Carlos Antonio da Silva | 2014-05-11 | 1 | -9/+9 |
|\ |
|
| * | Refactor AR's validations_test.rb | Takehiro Adachi | 2013-12-03 | 1 | -9/+9 |
* | | ActiveRecord/ActiveModel '#validate' alias for 'valid?' | Henrik Nyh | 2014-03-27 | 1 | -0/+15 |
* | | Prefer assert_raise instead of flunk + rescue to test for exceptions | Carlos Antonio da Silva | 2013-12-19 | 1 | -5/+3 |
|/ |
|
* | Typo fixes [ci skip] | Akshay Vishnoi | 2013-11-30 | 1 | -1/+1 |
* | Remove mass assignment security from ActiveRecord | Guillermo Iguaran | 2012-09-16 | 1 | -6/+0 |
* | remove tests for #with_scope (it's now deprecated) | Jon Leighton | 2012-04-25 | 1 | -24/+0 |
* | Deprecate set_table_name in favour of self.table_name= or defining your own m... | Jon Leighton | 2011-11-29 | 1 | -1/+1 |
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
* | Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES... | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
* | Cleanup deprecation warnings in active record | Carlos Antonio da Silva | 2010-09-06 | 1 | -43/+0 |
* | removing unused models from tests | Subba Rao Pasupuleti | 2010-07-21 | 1 | -5/+0 |
* | Validators should at model level and not at AR:Base level [Closes #4804] | Neeraj Singh | 2010-06-10 | 1 | -0/+10 |
* | Fix failing test. | José Valim | 2010-05-21 | 1 | -6/+6 |
* | Replace assert with assert_equal in some test cases | Neeraj Singh | 2010-05-21 | 1 | -2/+2 |
* | Remove undocumented save_without_validation! | Pratik Naik | 2010-05-11 | 1 | -6/+0 |
* | Make sure valid? preceives the context as in ActiveModel API (ht: Carlos Anto... | José Valim | 2010-05-10 | 1 | -0/+17 |
* | updated AR to work with the AMo model validation changes | Josh Kalderimis | 2010-05-08 | 1 | -1/+1 |
* | test_validates_acceptance_of_as_database_column fixed | Santiago Pastorino | 2010-02-05 | 1 | -3/+3 |
* | Ensure deprecated validate methods are invoked when they are private [#3214 s... | José Valim | 2010-01-18 | 1 | -1/+18 |
* | save(false) is gone, use save(:validate => false) instead. | José Valim | 2010-01-17 | 1 | -1/+9 |
* | Simplify repair_validations on AR and make it work with new callbacks. | José Valim | 2010-01-01 | 1 | -14/+14 |
* | Don't publicize with_scope for tests since it may shadow public misuse | Jeremy Kemper | 2009-12-28 | 1 | -3/+3 |
* | Move validator, human_name and human_attribute_name to ActiveModel, remove de... | José Valim | 2009-10-20 | 1 | -31/+0 |
* | Fix default_error_messages back to the original message | Akira Matsuda | 2009-09-11 | 1 | -3/+6 |
* | Changed ActiveRecord to use new callbacks and speed up observers by only noti... | José Valim | 2009-09-08 | 1 | -6/+3 |
* | Deprecate Model#validate/validate_on_create/validate_on_update. Use Model.val... | Pratik Naik | 2009-03-21 | 1 | -0/+34 |
* | Deprecate Errors#on_base/add_to_base/invalid?/each_full | Pratik Naik | 2009-03-21 | 1 | -2/+2 |
* | Add ActiveModel::Validations tests for regular ruby classes | Pratik Naik | 2009-03-20 | 1 | -0/+9 |
* | Add I18n translations to ActiveModel and move more AR specific parts to Activ... | Pratik Naik | 2009-03-20 | 1 | -0/+12 |
* | Deprecate Error#on(attribute) in favour of Errors#[attribute] | Pratik Naik | 2009-03-20 | 1 | -2/+2 |
* | Move relevant validation tests from Active Record to Active Model | Pratik Naik | 2009-03-20 | 1 | -1469/+1 |
* | Move all the Active Record validations to Active Model | Pratik Naik | 2009-03-19 | 1 | -125/+123 |
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -6/+6 |
* | Add ActiveRecord::Base#invalid? as the opposite of #valid? [#2159 state:resol... | Jeffrey Hardy | 2009-03-08 | 1 | -1/+12 |
* | Ensure validates_uniqueness_of considers limit on the field. [#1042 state:res... | Arthur Klepchukov | 2009-03-07 | 1 | -0/+9 |
* | DRY with_kcode in Active Record tests | Pratik Naik | 2009-03-07 | 1 | -14/+0 |
* | validate_length_of should use custom message if given when using in or within. | miloops | 2009-02-01 | 1 | -0/+13 |
* | Add a repair_helper to repair changes to the validations inside validations_t... | Murray Steele | 2008-12-19 | 1 | -160/+191 |
* | Fixes validates_uniquness_of problem with case insensitive string containing ... | wmoxam | 2008-09-11 | 1 | -0/+7 |
* | change activerecord validation tests to not use the deprecated interpolation ... | Sven Fuchs | 2008-09-10 | 1 | -29/+29 |
* | Make case insensitive validates_uniqueness_of use unicode aware downcase method. | Eugene Pimenov | 2008-08-29 | 1 | -0/+12 |
* | coerce blank strings to nil values for boolean and integer fields | Josh Susser | 2008-08-22 | 1 | -4/+4 |
* | Revert "coerce blank strings to nil values for boolean and integer fields" | Jeremy Kemper | 2008-08-21 | 1 | -4/+4 |
* | coerce blank strings to nil values for boolean and integer fields | Josh Susser | 2008-08-21 | 1 | -4/+4 |