Displaying 1 result from an estimated 1 matches for "marketing_address_id".
2006 Nov 04
0
Check_box woes
I have a User model and an Address model.
A user has_many addresses, and an address belongs_to a user.
An address object for a user could be a billing, shipping or marketing address.
The way I''m tracking this is via the user attributes:
billing_adress_id, marketing_address_id and shipping_address_id in the
user table, which holds the relevant address id.
But in my form that allows a user to edit an address, including
nominating it as a marketing, shipping or billing address, I''m getting
stuck with the check_box helpers setting this up.
Here''s my form...