diff options
author | Marcel Molina <marcel@vernix.org> | 2007-10-26 03:34:48 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2007-10-26 03:34:48 +0000 |
commit | 7f8183e3c4449d2442a95ed75504d1fba4b4cf8d (patch) | |
tree | 90f0be2ed7be98aa294c793b67bbf33cb89f4484 /actionpack | |
parent | 27ac7ad7e5204b97a22df4cdc4293dde515b23d1 (diff) | |
download | rails-7f8183e3c4449d2442a95ed75504d1fba4b4cf8d.tar.gz rails-7f8183e3c4449d2442a95ed75504d1fba4b4cf8d.tar.bz2 rails-7f8183e3c4449d2442a95ed75504d1fba4b4cf8d.zip |
Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/active_record_helper.rb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index e1d8f45768..ca1cf69d9a 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong] + * Make example parameters in restful routing docs idiomatic. Closes #9993 [danger] * Make documentation comment for mime responders match documentation example. Closes #9357 [yon] diff --git a/actionpack/lib/action_view/helpers/active_record_helper.rb b/actionpack/lib/action_view/helpers/active_record_helper.rb index a55c4966a3..9b3292a9b8 100644 --- a/actionpack/lib/action_view/helpers/active_record_helper.rb +++ b/actionpack/lib/action_view/helpers/active_record_helper.rb @@ -10,7 +10,7 @@ module ActionView module Helpers # The Active Record Helper makes it easier to create forms for records kept in instance variables. The most far-reaching is the form # method that creates a complete form for all the basic content types of the record (not associations or aggregations, though). This - # is a great of making the record quickly available for editing, but likely to prove lackluster for a complicated real-world form. + # is a great way of making the record quickly available for editing, but likely to prove lackluster for a complicated real-world form. # In that case, it's better to use the input method and the specialized form methods in link:classes/ActionView/Helpers/FormHelper.html module ActiveRecordHelper # Returns a default input tag for the type of object returned by the method. For example, let's say you have a model @@ -116,7 +116,7 @@ module ActionView # error_messages_for 'user' # # To specify more than one object, you simply list them; optionally, you can add an extra +object_name+ parameter, which - # be the name in the header. + # will be the name used in the header message. # # error_messages_for 'user_common', 'user', :object_name => 'user' # |