aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/errors.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-151-1/+1
|\
| * Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
| |
* | Minor changes to active_model/errors.rbRizwan Reza2010-06-141-8/+16
|/
* revises rdoc of AMo::Error#add [#4738 state:resolved]Xavier Noria2010-06-011-6/+6
|
* Use %{} syntax in I18n (faster) instead of {{}}.José Valim2010-05-011-1/+1
|
* Re-define empty? for errors to check if the values inside the OrderedHash ↵Ryan Bigg2010-04-101-0/+5
| | | | | | are empty rather than the OrderedHash itself. [#4356 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* errors.rb needs to be declared as UTF-8 [#3941 state:resolved]Aaron Patterson2010-04-021-0/+2
| | | | Signed-off-by: wycats <wycats@gmail.com>
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
|
* Use Array.wrap uniformlyJeremy Kemper2010-03-271-1/+2
|
* Full update on ActiveModel documentationMikel Lindsaar2010-02-011-0/+107
|
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-7/+14
|
* 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