Introduce Call for Booths

This commit is contained in:
nasia 2017-06-06 21:36:18 +03:00
parent 66ac45efc8
commit 7ee9b2966a
13 changed files with 191 additions and 16 deletions

View file

@ -3,7 +3,7 @@ class Booth < ActiveRecord::Base
has_many :booth_requests
has_many :users, through: :booth_requests
validate :title,
validates :title,
uniqueness: { case_sensitive: fasle},
presence: true