提交 7dea4b57 编写于 作者: J Jon Leighton

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

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