I believe, although I am not sure, that you are looking for the way to access objects and their associations in views. Is that correct?
I will give you an example using the Appointment model.
AppointmentsController
class AppointmentsController < ApplicationController
def index
@appointments = Appointment.includes(:physician, :patient).order(:appointment_date)
end
end
appointments#index (Haml syntax)
%ul
- @appointments.each do |appointment|
%li
= appointment.appointment_date
%br
%strong Physician:
= link_to appointment.physician.name, appointment.physician
%br
%strong Patient:
= link_to appointment.patient.name, appointment.patient
This would give you a list of appointments with their dates, physicians, and patients.
Is this the sort of help for which you were looking?