diff options
author | Paulo Ancheta <paulo.ancheta@gmail.com> | 2016-01-25 20:44:11 -0800 |
---|---|---|
committer | Paulo Ancheta <paulo.ancheta@gmail.com> | 2016-01-25 20:56:42 -0800 |
commit | 7af4d91a986337ac4ac4669d161df79e63c0b6c5 (patch) | |
tree | 2203b70ddb413b0c1b4776c3ec97a9be04f217bd | |
parent | 66d6e7be03ee6c304bd10347518467144ccea048 (diff) | |
download | rails-7af4d91a986337ac4ac4669d161df79e63c0b6c5.tar.gz rails-7af4d91a986337ac4ac4669d161df79e63c0b6c5.tar.bz2 rails-7af4d91a986337ac4ac4669d161df79e63c0b6c5.zip |
reflect mapping to match initialize
-rw-r--r-- | activerecord/lib/active_record/aggregations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/aggregations.rb b/activerecord/lib/active_record/aggregations.rb index be88c7c9e8..3ff41ed81b 100644 --- a/activerecord/lib/active_record/aggregations.rb +++ b/activerecord/lib/active_record/aggregations.rb @@ -33,7 +33,7 @@ module ActiveRecord # the database). # # class Customer < ActiveRecord::Base - # composed_of :balance, class_name: "Money", mapping: %w(balance amount) + # composed_of :balance, class_name: "Money", mapping: %w(amount currency) # composed_of :address, mapping: [ %w(address_street street), %w(address_city city) ] # end # |