Displaying 1 result from an estimated 1 matches for "billing_street2".
Did you mean:
billing_street
2009 Feb 26
1
composed_of, aggregate object isn't saved
...reet2),
%w(city, city),
%w(state, state),
%w(zip, zip)
] do |p|
Address.new p[:street], p[:street2], p[:city], p[:state], p[:zip]
end
composed_of :billing_address,
:class_name => ''Address'',
:mapping =>
[
%w(billing_street, street),
%w(billing_street2, street2),
%w(billing_city, city),
%w(billing_state, state),
%w(billing_zip, zip)
] do |p|
Address.new p[:street], p[:street2], p[:city], p[:state], p[:zip]
end
...
end
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You receiv...