suggested changes

This commit is contained in:
shlok007 2017-06-06 20:04:39 +05:30
parent ac85bad9b3
commit 3fb316482c
10 changed files with 176 additions and 110 deletions

View file

@ -1,5 +1,5 @@
class Organization < ActiveRecord::Base
has_many :conferences
has_many :conferences, dependent: :destroy
validates :name, presence: true