aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/session.rb
blob: db66b5297e7fd8e97f508c78cb5f5b64f290c039 (plain) (tree)
1
2
3
4
5
6





                                                                               
# frozen_string_literal: true

class Session < ActiveRecord::Base
  has_many :sections, inverse_of: :session, autosave: true, dependent: :destroy
  has_many :seminars, through: :sections
end