diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-16 17:45:37 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-16 17:45:37 +0000 |
commit | 0b554201bb2deb6bbb23de9b00aebd53b134921b (patch) | |
tree | 5fd8b334d49b7df5c4ae9d83ea7dd118d44678a1 /actionpack/lib/action_view/helpers/active_record_helper.rb | |
parent | f389a8fb5d15d2433cea93b2833dce751dec8edc (diff) | |
download | rails-0b554201bb2deb6bbb23de9b00aebd53b134921b.tar.gz rails-0b554201bb2deb6bbb23de9b00aebd53b134921b.tar.bz2 rails-0b554201bb2deb6bbb23de9b00aebd53b134921b.zip |
Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/active_record_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/active_record_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/active_record_helper.rb b/actionpack/lib/action_view/helpers/active_record_helper.rb index a2b5a8b004..07ede179e6 100644 --- a/actionpack/lib/action_view/helpers/active_record_helper.rb +++ b/actionpack/lib/action_view/helpers/active_record_helper.rb @@ -83,9 +83,9 @@ module ActionView # Returns a string with a div containing all the error messages for the object located as an instance variable by the name # of <tt>object_name</tt>. This div can be tailored by the following options: # - # ::header_tag: Used for the header of the error div (default: h2) - # ::id: The id of the error div (default: errorExplanation) - # ::class: The class of the error div (default: errorExplanation) + # * <tt>header_tag</tt> - Used for the header of the error div (default: h2) + # * <tt>id</tt> - The id of the error div (default: errorExplanation) + # * <tt>class</tt> - The class of the error div (default: errorExplanation) def error_messages_for(object_name, options={}) object = instance_eval "@#{object_name}" unless object.errors.empty? |