Introduce Call for Booths
This commit is contained in:
parent
66ac45efc8
commit
7ee9b2966a
13 changed files with 191 additions and 16 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue