Slowly getting the nested controllers working
More tests required
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class Virtual < ApplicationRecord
|
||||
belongs_to :domain
|
||||
validate :domain_name_exists
|
||||
validates :email, presence: true
|
||||
validates :destination, presence: true
|
||||
|
||||
Reference in New Issue
Block a user