To Examples
Source code file: Hospital2/app/controllers/contact_rb:
class ContactInfoController < ApplicationController def show # Obtain information from tables. @patients = Patient.all @doctors = Doctor.all end end