Displaying 1 result from an estimated 1 matches for "billingaddress_id".
Did you mean:
billing_address_id
2010 May 10
7
NilClass passed to partial view
..._name=>"Address"
end
Then I have the address Model :
--------------------------------------
class Address< ActiveRecord::Base
belongs_to :company
end
I''ve created manually an entry in the DB for Address and Company and
I''ve linked them (Company table has a "billingAddress_id" row)
In my views "company/_form"(scaffold generated), I want to display the
address form. So I added (following Rails Guides) the following line to
my view :
<%= render :partial => "addresses/edit", :locals => { :shippingAddress
=> @address} %>
It keeps s...