aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/errors.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding Proc support to validation messages so that they can become a little ↵Samuel Elliott2010-01-171-0/+2
| | | | | | more dynamic, allowing for customisations during the request [#3514 status:resolved]. Signed-off-by: José Valim <jose.valim@gmail.com>
* Errors messages are now moved from :activerecord.errors to simply :errors on ↵José Valim2010-01-071-3/+2
| | | | I18n yml files.
* Use activerecord.errors.format as in Rails 2.3.5.José Valim2010-01-021-3/+3
|
* Be sure to convert namespaced names to we have 'Parrots name' instead of ↵José Valim2010-01-021-2/+3
| | | | 'Parrots.name' in error messages.
* Move validator, human_name and human_attribute_name to ActiveModel, remove ↵José Valim2009-10-201-10/+9
| | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com>
* Fix typo.Brian Donovan2009-09-171-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Ensure validation errors to be ordered in declared orderAkira Matsuda2009-09-111-1/+2
| | | | | | [#2301 state:committed milestone:2.3.5] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use send instead of instance_evalPratik Naik2009-08-061-3/+3
|
* Allow validations to use values from custom readers [#2936 state:resolved]James Hill2009-08-051-3/+3
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Simplify AMo validation attribute readerJoshua Peek2009-06-171-3/+3
|
* each yields per message not per attributeJeremy Kemper2009-06-081-0/+1
|
* Properly require ActiveModel validation dependenciesJoshua Peek2009-06-081-7/+9
|
* Merge branch 'master' into active_modelJoshua Peek2009-05-291-1/+2
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb
* | Add I18n translations to ActiveModel and move more AR specific parts to ↵Pratik Naik2009-03-201-34/+22
| | | | | | | | ActiveRecord::Validations
* | Make Active Resource use ActiveModel::ErrorsPratik Naik2009-03-191-1/+6
| |
* | Move all the Active Record validations to Active ModelPratik Naik2009-03-191-39/+121
|/
* Merge with docrailsPratik Naik2008-12-071-0/+2
|
* Something more to work withDavid Heinemeier Hansson2008-03-311-0/+80
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de