diff options
author | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 15:21:10 +0530 |
---|---|---|
committer | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 15:21:10 +0530 |
commit | 9616849ccb52b517614fcd964c0f074e16a805c9 (patch) | |
tree | 546fee3dc5bb5c332e0b76fe49c46f335842ebf0 /guides | |
parent | 88b08f0786bb1843d20f7b10e2709440d8bf958d (diff) | |
download | rails-9616849ccb52b517614fcd964c0f074e16a805c9.tar.gz rails-9616849ccb52b517614fcd964c0f074e16a805c9.tar.bz2 rails-9616849ccb52b517614fcd964c0f074e16a805c9.zip |
corrected a line related to on: :save option in validations
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_validations.md | 2 |
1 files changed, 2 insertions, 0 deletions
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 ``` |