We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29e0cf8 commit b961164Copy full SHA for b961164
app/models/program_session.rb
@@ -37,7 +37,7 @@ class ProgramSession < ApplicationRecord
37
38
belongs_to :event
39
belongs_to :proposal
40
- belongs_to :track
+ belongs_to :track, optional: true
41
belongs_to :session_format
42
has_one :time_slot, dependent: :nullify
43
has_many :speakers, -> { order(:created_at)}
0 commit comments