José Valim
|
f1085f4128
|
Move validations in ActiveModel to validators, however all validatity checks are still in the class method.
|
2009-12-23 00:36:51 +01:00 |
|
José Valim
|
2476c5312d
|
Validator is simply sent to validate method. However, the API needs to change, so validate accepts a record.
|
2009-12-22 23:12:21 +01:00 |
|
José Valim
|
e714b499cc
|
Move validator, human_name and human_attribute_name to ActiveModel, remove deprecated error messages and add i18n_scope and lookup_ancestors.
Signed-off-by: Carl Lerche <carllerche@mac.com>
|
2009-10-20 17:52:32 -07:00 |
|
Joshua Peek
|
c6e0923245
|
Fix failing AMo isolated tests
|
2009-09-05 18:54:19 -05:00 |
|
Jeff Dean
|
22f3398253
|
Introduce validates_with to encapsulate attribute validations in a class.
[#2630 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-08-09 22:47:56 -07:00 |
|