Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | change ActiveModel::Validation to ActiveModel::Validations in comments | Sen Zhang | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | Use Active Model, not ActiveModel in plain English | claudiob | 2015-01-02 | 1 | -1/+1 |
| | | | | | | | Also prevents the word "Model" from linking to the documentation of ActiveModel::Model because that's not intended. [ci skip] | ||||
* | revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang ↵ | Xavier Noria | 2014-01-26 | 1 | -1/+1 |
| | | | | | | & Xavier Noria] Closes #11247. | ||||
* | Use :present as key for the absence validatior message | Rafael Mendonça França | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | Remove ActiveModel::Errors#add_on_present method. | Rafael Mendonça França | 2012-12-21 | 1 | -2/+2 |
| | | | | | | | | We don't need to define a new method in ActiveMode::Errors for each validatior. See https://github.com/rails/rails/commit/d72a07f1d1478db9daed847eadb35bfd840674f6#commitcomment-2325333 | ||||
* | Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the ↵ | Roberto Vasquez Angel | 2012-12-15 | 1 | -0/+31 |
absence of attributes. Add `ActiveModel::Errors#add_on_present` method. Adds error messages to present attributes. |