2014-06-05 11:56:04 +05:30
|
|
|
class SponsorshipLevel < ActiveRecord::Base
|
2017-03-28 21:47:17 +02:00
|
|
|
validates :title, presence: true
|
2014-06-05 11:56:04 +05:30
|
|
|
belongs_to :conference
|
2014-11-14 11:58:36 +01:00
|
|
|
acts_as_list scope: :conference
|
2014-06-05 17:51:22 +05:30
|
|
|
has_many :sponsors
|
2016-05-24 23:54:46 +05:30
|
|
|
|
|
|
|
|
has_paper_trail ignore: [:updated_at], meta: { conference_id: :conference_id }
|
2014-06-05 11:56:04 +05:30
|
|
|
end
|