Adds sponsor model
This commit is contained in:
parent
411deb4c65
commit
e38a654af1
6 changed files with 58 additions and 0 deletions
|
|
@ -2,4 +2,5 @@ class SponsorshipLevel < ActiveRecord::Base
|
|||
attr_accessible :title
|
||||
validates_presence_of :title
|
||||
belongs_to :conference
|
||||
has_many :sponsors
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue