Skip to content

Commit

Permalink
Track is not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Nov 14, 2024
1 parent 29e0cf8 commit b961164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/program_session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ProgramSession < ApplicationRecord

belongs_to :event
belongs_to :proposal
belongs_to :track
belongs_to :track, optional: true
belongs_to :session_format
has_one :time_slot, dependent: :nullify
has_many :speakers, -> { order(:created_at)}
Expand Down

0 comments on commit b961164

Please sign in to comment.