Adds sponsor model

This commit is contained in:
Gopesh Tulsyan 2014-06-05 17:51:22 +05:30
parent 411deb4c65
commit e38a654af1
6 changed files with 58 additions and 0 deletions

View file

@ -2,4 +2,5 @@ class SponsorshipLevel < ActiveRecord::Base
attr_accessible :title
validates_presence_of :title
belongs_to :conference
has_many :sponsors
end