Xavier Noria
|
0df1f91410
|
revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang & Xavier Noria]
Closes #11247.
|
2014-01-26 20:50:18 +01:00 |
|
Rafael Mendonça França
|
ac6941fb71
|
Use :present as key for the absence validatior message
|
2012-12-21 17:10:16 -03:00 |
|
Rafael Mendonça França
|
b437053b5b
|
Remove ActiveModel::Errors#add_on_present method.
We don't need to define a new method in ActiveMode::Errors for each
validatior.
See
d72a07f1d1 (commitcomment-2325333)
|
2012-12-21 17:06:18 -03:00 |
|
Roberto Vasquez Angel
|
d72a07f1d1
|
Add ActiveModel::Validations::AbsenceValidator , a validator to check the absence of attributes.
Add `ActiveModel::Errors#add_on_present` method. Adds error messages to present attributes.
|
2012-12-15 16:27:44 -05:00 |
|