Added carousel model

This commit is contained in:
Gopesh Tulsyan 2014-06-10 12:43:15 +05:30
parent 069cc0eb4c
commit d9818f2749
6 changed files with 72 additions and 11 deletions

View file

@ -31,7 +31,7 @@ class Conference < ActiveRecord::Base
has_many :vdays, :dependent => :destroy
has_many :vpositions, :dependent => :destroy
has_many :vchoices, :dependent => :destroy
has_many :photos, dependent: :destroy
belongs_to :venue
accepts_nested_attributes_for :rooms, :reject_if => proc {|r| r["name"].blank?}, :allow_destroy => true