mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
7 lines
171 B
Ruby
7 lines
171 B
Ruby
class Lodging < ActiveRecord::Base
|
|
belongs_to :conference
|
|
|
|
validates :name, presence: true
|
|
|
|
mount_uploader :picture, PictureUploader, mount_on: :photo_file_name
|
|
end
|