diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-02 23:01:30 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-02 23:01:30 +0530 |
commit | b3c1cfa2772e64b20681bae8e765f37660087b18 (patch) | |
tree | c5bb2473050c3d6bbb80dcb9a4e56e5f1b212917 /railties | |
parent | 9aa880f2e860ff2058dc0d359c6310848b1e4383 (diff) | |
download | rails-b3c1cfa2772e64b20681bae8e765f37660087b18.tar.gz rails-b3c1cfa2772e64b20681bae8e765f37660087b18.tar.bz2 rails-b3c1cfa2772e64b20681bae8e765f37660087b18.zip |
minor edits in AR validations guide
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_record_validations_callbacks.textile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile index 665e7f9ccc..4c1f66aedf 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -796,17 +796,9 @@ person.errors.size # => 0 h3. Displaying Validation Errors in the View -Rails maintains an official plugin, DynamicForm, that provides helpers to display the error messages of your models in your view templates. You can install it as a plugin or as a Gem. +"DynamicForm":https://github.com/joelmoss/dynamic_form provides helpers to display the error messages of your models in your view templates. -h4. Installing as a plugin - -<shell> -$ rails plugin install git://github.com/joelmoss/dynamic_form.git -</shell> - -h4. Installing as a Gem - -Add this line in your Gemfile: +You can install it as a gem by adding this line to your Gemfile: <ruby> gem "dynamic_form" |