Bike!Bike! Website!

24 lines
407 B

9 years ago
class ConferenceRegistration < ActiveRecord::Base
belongs_to :conference
belongs_to :user
has_many :conference_registration_responses
9 years ago
AttendingOptions = [:yes, :no]
9 years ago
def languages
user.languages
end
def self.all_housing_options
[:none, :tent, :house]
end
def self.all_bike_options
[:yes, :no]
end
def self.all_food_options
[:meat, :vegetarian, :vegan]
end
9 years ago
end