aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorHrvoje Šimić <shime.ferovac@gmail.com>2012-05-11 16:09:10 +0200
committerHrvoje Šimić <shime.ferovac@gmail.com>2012-05-11 16:09:10 +0200
commitbd2b1c126bae98d93426915e036513dc0137ce25 (patch)
tree537d8945d9548803d87bf1b1335cec05d0d0be5a /activerecord/lib/active_record
parent24e4bc31b98a773924887137afb6f415ef1c0a9e (diff)
downloadrails-bd2b1c126bae98d93426915e036513dc0137ce25.tar.gz
rails-bd2b1c126bae98d93426915e036513dc0137ce25.tar.bz2
rails-bd2b1c126bae98d93426915e036513dc0137ce25.zip
missing 'with'
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/aggregations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/aggregations.rb b/activerecord/lib/active_record/aggregations.rb
index a4db627535..c7a329d74d 100644
--- a/activerecord/lib/active_record/aggregations.rb
+++ b/activerecord/lib/active_record/aggregations.rb
@@ -71,7 +71,7 @@ module ActiveRecord
# Now it's possible to access attributes from the database through the value objects instead. If
# you choose to name the composition the same as the attribute's name, it will be the only way to
# access that attribute. That's the case with our +balance+ attribute. You interact with the value
- # objects just like you would any other attribute, though:
+ # objects just like you would with any other attribute:
#
# customer.balance = Money.new(20) # sets the Money value object and the attribute
# customer.balance # => Money value object