diff options
author | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 16:16:44 +0530 |
---|---|---|
committer | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 16:16:44 +0530 |
commit | 73fece000f93d811337e18f376acc6df3efed6b3 (patch) | |
tree | d01a5b5ff0047d55d3d165e0c32adcdde62bf13e /guides/source/active_record_validations.md | |
parent | d2a799895b19cabca86a209cf2dac0dc5215ab48 (diff) | |
download | rails-73fece000f93d811337e18f376acc6df3efed6b3.tar.gz rails-73fece000f93d811337e18f376acc6df3efed6b3.tar.bz2 rails-73fece000f93d811337e18f376acc6df3efed6b3.zip |
Added instructions of latest bundler install + modified the on: :save option description in validations
Diffstat (limited to 'guides/source/active_record_validations.md')
-rw-r--r-- | guides/source/active_record_validations.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 842779e0ea..dfc951f10e 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -765,11 +765,10 @@ 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 ``` +The last 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) Strict Validations ------------------ |