Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

missing 'with'

  • Loading branch information...
commit bd2b1c126bae98d93426915e036513dc0137ce25 1 parent 24e4bc3
@shime shime authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.