Open aeggum opened 12 years ago
Oh, if you're working locally and want to associate a landlord with a listing, the way to do it is in the console, using the update_attributes(:landlord_id => xxx) command for a listing, assuming you have a landlord created. To create one you can do it in the console or on the website at /landlords/new.
We've added the ability to associate a new listing with a landlord.
We should decide if we want to make landlord information required or not.
The other end of the association may be a little trickier.
It should be able to be done both ways. This is a little more tricky but is important for obvious reasons.