Permalink
Browse files

Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub

  • Loading branch information...
1 parent e68a83c commit c8c012caa8e5a379ed050fb4150fc1b57930fbfd @josevalim josevalim committed Apr 15, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 actionpack/lib/action_view/helpers/form_helper.rb
@@ -610,9 +610,10 @@ def fields_for(record, record_object = nil, options = {}, &block)
# label(:post, :body)
# # => <label for="post_body">Write your entire text here</label>
#
- # Localization can also be based purely on the translation of the attribute-name like this:
+ # Localization can also be based purely on the translation of the attribute-name
+ # (if you are using ActiveRecord):
#
- # activemodel:
+ # activerecord:
# attribute:
# post:
# cost: "Total cost"

0 comments on commit c8c012c

Please sign in to comment.