Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the `validate!` method to `ActiveModel::Validations`. | Lucas Mazza | 2015-02-20 | 1 | -0/+1 |
| | |||||
* | Move required error message and changelog to Active Record | Carlos Antonio da Silva | 2015-02-01 | 1 | -2/+1 |
| | | | | | The new association error belongs to Active Record, not Active Model. See #18700 for reference. | ||||
* | Provide a better error message on :required association | Henrik Nygren | 2015-01-28 | 1 | -0/+1 |
| | | | | Fixes #18696. | ||||
* | Add singular and plural form for some validation messages | Abd ar-Rahman Hamidi | 2014-05-02 | 1 | -3/+9 |
| | |||||
* | Use :present as key for the absence validatior message | Rafael Mendonça França | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the ↵ | Roberto Vasquez Angel | 2012-12-15 | 1 | -0/+1 |
| | | | | | | absence of attributes. Add `ActiveModel::Errors#add_on_present` method. Adds error messages to present attributes. | ||||
* | confirmation validation error attribute | Brian Cardarella | 2012-04-23 | 1 | -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 validator | Jakub Kuźma | 2011-12-21 | 1 | -0/+1 |
| | |||||
* | Added headings to serializers. | Rizwan Reza | 2010-06-14 | 1 | -1/+1 |
| | |||||
* | Use %{} syntax in I18n (faster) instead of {{}}. | José Valim | 2010-05-01 | 1 | -9/+9 |
| | |||||
* | Fix validates_numericaly_of only integer error message [#4406 state:resolved] | reu | 2010-04-25 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Errors messages are now moved from :activerecord.errors to simply :errors on ↵ | José Valim | 2010-01-07 | 1 | -25/+24 |
| | | | | I18n yml files. | ||||
* | Use activerecord.errors.format as in Rails 2.3.5. | José Valim | 2010-01-02 | 1 | -0/+3 |
| | |||||
* | Add I18n translations to ActiveModel and move more AR specific parts to ↵ | Pratik Naik | 2009-03-20 | 1 | -0/+24 |
ActiveRecord::Validations |