aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorPaulo Ancheta <paulo.ancheta@gmail.com>2016-01-25 20:44:11 -0800
committerPaulo Ancheta <paulo.ancheta@gmail.com>2016-01-25 20:56:42 -0800
commit7af4d91a986337ac4ac4669d161df79e63c0b6c5 (patch)
tree2203b70ddb413b0c1b4776c3ec97a9be04f217bd /activerecord
parent66d6e7be03ee6c304bd10347518467144ccea048 (diff)
downloadrails-7af4d91a986337ac4ac4669d161df79e63c0b6c5.tar.gz
rails-7af4d91a986337ac4ac4669d161df79e63c0b6c5.tar.bz2
rails-7af4d91a986337ac4ac4669d161df79e63c0b6c5.zip
reflect mapping to match initialize
Diffstat (limited to 'activerecord')
-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 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
#