parent
87b1aba1e9
commit
799fd0c3a4
19 changed files with 65 additions and 66 deletions
|
|
@ -4,7 +4,7 @@ class Campaign < ActiveRecord::Base
|
|||
|
||||
validates :name, :utm_campaign, presence: true
|
||||
|
||||
has_many :targets
|
||||
has_many :targets, dependent: :nullify
|
||||
belongs_to :conference
|
||||
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue