aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authoraditya-kapoor <aditya.kapoor@vinsol.com>2013-04-22 16:16:44 +0530
committeraditya-kapoor <aditya.kapoor@vinsol.com>2013-04-22 16:16:44 +0530
commit73fece000f93d811337e18f376acc6df3efed6b3 (patch)
treed01a5b5ff0047d55d3d165e0c32adcdde62bf13e /guides/source
parentd2a799895b19cabca86a209cf2dac0dc5215ab48 (diff)
downloadrails-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')
-rw-r--r--guides/source/active_record_validations.md3
-rw-r--r--guides/source/ruby_on_rails_guides_guidelines.md4
2 files changed, 5 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
------------------
diff --git a/guides/source/ruby_on_rails_guides_guidelines.md b/guides/source/ruby_on_rails_guides_guidelines.md
index 136dfb4cae..d5d1ee0a38 100644
--- a/guides/source/ruby_on_rails_guides_guidelines.md
+++ b/guides/source/ruby_on_rails_guides_guidelines.md
@@ -63,6 +63,10 @@ Those guidelines apply also to guides.
HTML Guides
-----------
+Before generating the guides, make sure that you have the latest version of Bundler installed on your system. As of this writing, you must install Bundler 1.3.5 on your device.
+
+To install the latest version of Bundler, simply run the `gem install bundler` command
+
### Generation
To generate all the guides, just `cd` into the `guides` directory, run `bundle install` and execute: