Table name: session_omitted_reasons
id :integer not null, primary key tutoring_session_id :integer reason :integer other_reason :string(255) created_at :datetime updated_at :datetime university_id :integer
Constant to specify reason for ommitting session
To get reason for ommiting the session
# File app/models/session_omitted_reason.rb, line 25 def reason_text reason == 3 ? other_reason : REASONS[reason] end