Skip to content
Browse files

missing 'with'

  • Loading branch information...
1 parent 24e4bc3 commit bd2b1c126bae98d93426915e036513dc0137ce25 @shime shime committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/aggregations.rb
View
2 activerecord/lib/active_record/aggregations.rb
@@ -71,7 +71,7 @@ def clear_aggregation_cache #:nodoc:
# 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

0 comments on commit bd2b1c1

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