aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/section.rb
blob: f8b4cc79367cb1a89ea076a2659c537503576ed5 (plain) (blame)
1
2
3
4
5
6
# frozen_string_literal: true

class Section < ActiveRecord::Base
  belongs_to :session, inverse_of: :sections, autosave: true
  belongs_to :seminar, inverse_of: :sections, autosave: true
end