diff --git a/app/models/conference.rb b/app/models/conference.rb index 99f2c52..d93d3f3 100644 --- a/app/models/conference.rb +++ b/app/models/conference.rb @@ -8,7 +8,7 @@ class Conference < ActiveRecord::Base translates :title, :description - has_many :tracks + has_many :tracks, -> { order('id asc') } has_many :events, through: :tracks scope :future, -> { where('start_date >= ?', Date.today).order('start_date ASC') }