search for: billing_country

Displaying 3 results from an estimated 3 matches for "billing_country".

2007 Dec 06
8
Default value for country_select
Using Country_select how to have default valur set to United States. I have a select drop down in my Ui to display the Country names. But i need United tates to be selected as default value. I use country_select to populate the country names. This is how i use <%= f.country_select :country, :selected=>''United States'' %> i also tried <%= f.country_select :country,
2006 Jan 03
5
update command not updating DB
...=>"test", "shipping_zip"=>"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",...
2006 Nov 20
1
Getting started with ActiveMerchant & new Ecommerce book
...on Rails Ecommerce'' book and am trying to integrate ActiveMerchant into my app. My order.rb file has the line: ''include ActiveMerchant::Billing'' per the book. My Order model also has, amongst other things, the following validation: '' validates_inclusion_of :billing_country, :in => Address::COUNTRIES.map {|disp, value| value}'' where the constant COUNTRIES has been defined in my Address model. From the console, if I try and create an Order.new, I get the following error: ''uninitialized constant COUNTRIES'' and reference to the above vali...