Skip to content
Browse files

Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 27ac7ad commit 7f8183e3c4449d2442a95ed75504d1fba4b4cf8d Marcel Molina committed Oct 26, 2007
Showing with 4 additions and 2 deletions.
  1. +2 −0 actionpack/CHANGELOG
  2. +2 −2 actionpack/lib/action_view/helpers/active_record_helper.rb
View
2 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]
View
4 actionpack/lib/action_view/helpers/active_record_helper.rb
@@ -10,7 +10,7 @@ class Base
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 @@ def error_message_on(object, method, prepend_text = "", append_text = "", css_cl
# 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'
#

0 comments on commit 7f8183e

Please sign in to comment.
Something went wrong with that request. Please try again.