aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-01-26 00:06:20 -0500
committerRafael França <rafaelmfranca@gmail.com>2016-01-26 00:06:20 -0500
commit755f7b58953c25790eea0574ff8928033ded2d88 (patch)
treee9bfc572457726311b5bb64a28c99a5a50427dc7 /activerecord
parent35db4603095e8ccc0a92d925a42d4b3d9462580f (diff)
parent7af4d91a986337ac4ac4669d161df79e63c0b6c5 (diff)
downloadrails-755f7b58953c25790eea0574ff8928033ded2d88.tar.gz
rails-755f7b58953c25790eea0574ff8928033ded2d88.tar.bz2
rails-755f7b58953c25790eea0574ff8928033ded2d88.zip
Merge pull request #23256 from pauloancheta/master
documentation fix
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
#