aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations/presence.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug with presence validation of associations.Scott Willson2012-10-161-2/+4
| | | | Would incorrectly add duplicated errors when the association was blank. Bug introduced in 1fab518c6a75dac5773654646eb724a59741bc13.
* update AR::Validations documentation [ci skip]Francesco Rodriguez2012-09-221-9/+8
|
* AR has a subclass of AM:PresenceValidator.Brent Wheeldon & Nick Monje2012-07-201-0/+64
This allows us to mark the parent object as invalid if all associated objects in a presence validated association are marked for destruction. See: https://github.com/rails/rails/issues/6812