commit
755f7b5895
@ -33,7 +33,7 @@ def init_internals # :nodoc:
|
||||
# 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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user