has_many :through is needed. In order for appointment_date to be available to both physicians and patients, it should be located in the appointments table.
Using fields_for :appointments is quite simple and I successfully list out the appointments for a physician or patient. Listing out the associated patient name or physician name is where I'm asking for help. I can list out the physician_id or the patient_id from the appointments table, but not their name. Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

