gauge/app/models/selected_talk.rb

8 lines
139 B
Ruby
Raw Normal View History

2016-10-05 14:49:17 +03:00
class SelectedTalk < ApplicationRecord
belongs_to :talk_preference
def talk
Talk.find talk_id, from: :halfnarp_friendly
end
end