changes
This commit is contained in:
parent
336c1e86bd
commit
a0e1760ef1
8 changed files with 79 additions and 48 deletions
|
|
@ -2,6 +2,8 @@ class Sponsor < ActiveRecord::Base
|
|||
belongs_to :sponsorship_level
|
||||
belongs_to :conference
|
||||
|
||||
attr_accessor :type, :quantity
|
||||
|
||||
has_paper_trail ignore: [:updated_at], meta: { conference_id: :conference_id }
|
||||
|
||||
mount_uploader :picture, PictureUploader, mount_on: :logo_file_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue