From 9616849ccb52b517614fcd964c0f074e16a805c9 Mon Sep 17 00:00:00 2001 From: aditya-kapoor Date: Mon, 22 Apr 2013 15:21:10 +0530 Subject: corrected a line related to on: :save option in validations --- guides/source/active_record_validations.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'guides/source') diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index d043e42090..c279ef0a4a 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -765,6 +765,8 @@ class Person < ActiveRecord::Base validates :age, numericality: true, on: :update # the default (validates on both create and update) + The following line is in review state and as of now, it is not running in any version of Rails 3.2.x as discussed in this [issue](https://github.com/rails/rails/issues/10248) + validates :name, presence: true, on: :save end ``` -- cgit v1.2.3