Permalink
Browse files

Merge branch 'master' of github.com:rails/rails

  • Loading branch information...
2 parents 65469a6 + dd90f39 commit 7dea4b57a48e1bef70bcd8ae9a804bce09865bae @jonleighton jonleighton committed Apr 15, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 actionpack/lib/action_view/helpers/form_helper.rb
@@ -610,10 +610,11 @@ 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:
- # attribute:
+ # activerecord:
+ # attributes:
# post:
# cost: "Total cost"
#

0 comments on commit 7dea4b5

Please sign in to comment.