ActiveRecord rails name of resource code example Example: get and to rails @patient = Patient.find(params[:id])