gauge/app/models/selected_talk.rb

8 lines
139 B
Ruby

class SelectedTalk < ApplicationRecord
belongs_to :talk_preference
def talk
Talk.find talk_id, from: :halfnarp_friendly
end
end