Moves sponsor email attribute from conference to contact
This commit is contained in:
parent
c0cdf3e6e5
commit
9376fe57e3
10 changed files with 49 additions and 11 deletions
|
|
@ -1,5 +1,7 @@
|
|||
class Contact < ActiveRecord::Base
|
||||
attr_accessible :conference_id, :social_tag, :email, :facebook, :googleplus, :twitter, :instagram, :public
|
||||
attr_accessible :conference_id, :social_tag, :email, :facebook, :googleplus, :twitter,
|
||||
:instagram, :public, :sponsor_email
|
||||
|
||||
belongs_to :conference
|
||||
|
||||
validates :conference, presence: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue