提交 b3c1cfa2 编写于 作者: V Vijay Dev

minor edits in AR validations guide

上级 9aa880f2
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册