search for: address_3

Displaying 2 results from an estimated 2 matches for "address_3".

Did you mean: address_r
2008 Jul 07
0
ActiveRecord in Rails 2.1.0 misbehaving for Aggregate Attr.
...ount model that shadows the accounts table in database. This account object contains a composite object (amongst others) called BillingAddress defined within the Account model class as follows: composed_of :billing_address, :mapping => [%w(address_1 address_1), %w(address_2 address_2), %w(address_3 address_3), %w(city city), %w(state state), %w(zip zip), %w(card_country country)] do |params| BillingAddress.new params end To test this theory, in the Rails Console, I "found" and existing Account object in the database using acct =...
2007 Nov 07
5
Unexplainable failure...at least for me
...nil, "latitude"=>nil, "region_code"=>nil, "province_id"=>nil, "country_id"=>nil, "location_type"=>nil, "location_id"=>nil, "address_1"=>nil, "address_2"=>nil, "longitude"=>nil, "address_3"=>nil, "address_4"=>nil}> >> a.country_id = 1 => 1 >> a.country.name => "Canada" >> a.province_id = 1 => 1 >> a.full_address => ",,Alberta,Canada" but when the specs are run I get errors saying that the country and pr...