aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Kampmeier <chris@kampers.net>2009-01-11 20:33:58 -0800
committerChris Kampmeier <chris@kampers.net>2009-01-11 20:33:58 -0800
commitefce9aa71bf589e18e05b1ec613ab3f0dd717083 (patch)
tree91b8115011598a4b3e20aa1e93867c29d512fc55
parent73db43527d162fdf95665d88589f7ab6d17a17fa (diff)
downloadrails-efce9aa71bf589e18e05b1ec613ab3f0dd717083.tar.gz
rails-efce9aa71bf589e18e05b1ec613ab3f0dd717083.tar.bz2
rails-efce9aa71bf589e18e05b1ec613ab3f0dd717083.zip
A little copyediting of 73db43527d162fdf95665d88589f7ab6d17a17fa
-rwxr-xr-xactiverecord/lib/active_record/base.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 1ba09a96b5..a9572fbda8 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -2739,10 +2739,11 @@ module ActiveRecord #:nodoc:
end
end
- # Returns an <tt>#inspect</tt>-like value for the value of the attribute
- # referred to by +attr_name+. Strings are elided after 50 characters,
- # and Dates and Times are returned in the <tt>:db</tt> format. Other
- # attributes return the value of <tt>#inspect</tt> normally.
+ # Returns an <tt>#inspect</tt>-like string for the value of the
+ # attribute +attr_name+. String attributes are elided after 50
+ # characters, and Date and Time attributes are returned in the
+ # <tt>:db</tt> format. Other attributes return the value of
+ # <tt>#inspect</tt> without modification.
#
# person = Person.create!(:name => "David Heinemeier Hansson " * 3)
#