aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/locale
Commit message (Collapse)AuthorAgeFilesLines
* Move the `validate!` method to `ActiveModel::Validations`.Lucas Mazza2015-02-201-0/+1
|
* Move required error message and changelog to Active RecordCarlos Antonio da Silva2015-02-011-2/+1
| | | | | The new association error belongs to Active Record, not Active Model. See #18700 for reference.
* Provide a better error message on :required associationHenrik Nygren2015-01-281-0/+1
| | | | Fixes #18696.
* Add singular and plural form for some validation messagesAbd ar-Rahman Hamidi2014-05-021-3/+9
|
* Use :present as key for the absence validatior messageRafael Mendonça França2012-12-211-1/+1
|
* Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the ↵Roberto Vasquez Angel2012-12-151-0/+1
| | | | | | absence of attributes. Add `ActiveModel::Errors#add_on_present` method. Adds error messages to present attributes.
* confirmation validation error attributeBrian Cardarella2012-04-231-1/+1
| | | | | | | | | | | | This will render the error message on :#{attribute}_confirmation instead of on attribute itself. When rendering confirmation errors inline on the form with form builders such as SimpleForm and Formtastic it is confusing to the ender user to see the confirmation error message on the attribute element. Instead it makes more sense to have this validation error render on the confirmation field instead. The i18n message has been updated for the confirmation validator error message to include the original attribute name.
* added :other_than => :!= option to numericality validatorJakub Kuźma2011-12-211-0/+1
|
* Added headings to serializers.Rizwan Reza2010-06-141-1/+1
|
* Use %{} syntax in I18n (faster) instead of {{}}.José Valim2010-05-011-9/+9
|
* Fix validates_numericaly_of only integer error message [#4406 state:resolved]reu2010-04-251-0/+1
| | | | 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-25/+24
| | | | I18n yml files.
* Use activerecord.errors.format as in Rails 2.3.5.José Valim2010-01-021-0/+3
|
* Add I18n translations to ActiveModel and move more AR specific parts to ↵Pratik Naik2009-03-201-0/+24
ActiveRecord::Validations