I have the following virtual attributes within my model:
attr_accessor :city, :zip, :street, :suite
In the new/edit form, I have form fields for each of these attributes. I can convert these four attributes into a single address_id with a method we'll call address_lookup. I only need to store the address_id in the model. What's the basic approach to cleanly handle this in the create/update controller actions, and (if necessary) the model? It's a little over my head.