Displaying 3 results from an estimated 3 matches for "billing_zip".
2006 Jan 03
5
update command not updating DB
...t;"test", "id"=>"51",
"shipping_city"=>"test", "shipping_option"=>"1", "billing_state"=>"te",
"phone"=>"tttttttest", "billing_country"=>"test", "billing_zip"=>"test",
"studio_name"=>"test studio", "shipping_street"=>"test",
"password"=>"4f939b7b470595d4c9924342ad57821cc818deac", "login"=>"test",
"email"=>"test@test.com"...
2009 Feb 26
1
composed_of, aggregate object isn't saved
...w 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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Tal...
2006 Sep 05
0
rake craziness with Migrate as a dependency
...- add_column(:users, "billing_city", :string, {:default=>"",
:limit=>150, :null=>false})
-> 0.2100s
-- add_column(:users, "billing_state", :string, {:default=>"",
:limit=>150, :null=>false})
-> 0.2110s
-- add_column(:users, "billing_zip", :string, {:default=>"",
:limit=>150, :null=>false})
-> 0.2100s
-- add_column(:users, "shipping_title", :string, {:default=>"",
:limit=>6, :null=>false})
-> 0.4310s
-- add_column(:users, "shipping_first_name", :string, {:de...