2014-06-14 20:41:26 +05:30
|
|
|
class Lodging < ActiveRecord::Base
|
2014-11-20 14:57:03 +01:00
|
|
|
belongs_to :conference
|
2014-11-12 12:00:03 +01:00
|
|
|
|
|
|
|
|
validates :name, presence: true
|
|
|
|
|
|
2016-04-27 15:27:33 +02:00
|
|
|
mount_uploader :picture, PictureUploader, mount_on: :photo_file_name
|
2014-06-14 20:41:26 +05:30
|
|
|
end
|