diff options
author | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 15:26:29 +0530 |
---|---|---|
committer | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 15:26:29 +0530 |
commit | d2a799895b19cabca86a209cf2dac0dc5215ab48 (patch) | |
tree | 9a8bca4522c9bd3138b0b787e6a58ed707d863e5 /guides | |
parent | 9616849ccb52b517614fcd964c0f074e16a805c9 (diff) | |
download | rails-d2a799895b19cabca86a209cf2dac0dc5215ab48.tar.gz rails-d2a799895b19cabca86a209cf2dac0dc5215ab48.tar.bz2 rails-d2a799895b19cabca86a209cf2dac0dc5215ab48.zip |
corrected a typo related to on: :save option in validations
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_validations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index c279ef0a4a..842779e0ea 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -765,7 +765,7 @@ 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) + # 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 |