Adds migrations for checkboxes of splash components

This commit is contained in:
Gopesh Tulsyan 2014-06-17 20:25:35 +05:30
parent 3cf41b51c2
commit 6c5e04f513
7 changed files with 57 additions and 23 deletions

View file

@ -1,5 +1,6 @@
class Venue < ActiveRecord::Base
attr_accessible :name, :description, :website, :address, :photo, :lodgings_attributes
attr_accessible :name, :description, :website, :address, :photo, :lodgings_attributes,
:include_venue_in_splash, :include_lodgings_in_splash
has_many :conferences
has_many :lodgings
before_create :generate_guid