Skip to content

Commit

Permalink
missing 'with'
Browse files Browse the repository at this point in the history
  • Loading branch information
shime committed May 11, 2012
1 parent 24e4bc3 commit bd2b1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/aggregations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd2b1c1

Please sign in to comment.