app/models/wco/leadset.rb in wco_models-3.1.0.113 vs app/models/wco/leadset.rb in wco_models-3.1.0.114
- old
+ new
@@ -17,13 +17,14 @@
index({ email: 1 }, { name: 'email' })
validates :email, uniqueness: { allow_nil: true } # presence: true
has_many :appliances, class_name: '::WcoHosting::Appliance', inverse_of: :leadset
- has_many :appliance_tmpl_prices, class_name: 'Wco::Price'
+ has_many :appliance_tmpl_prices, class_name: 'Wco::Price'
has_many :environments, class_name: '::WcoHosting::Environment', inverse_of: :leadset
- has_many :invoices, class_name: 'Wco::Invoice'
+ has_many :invoices, class_name: 'Wco::Invoice'
has_many :leads, class_name: 'Wco::Lead'
+ has_many :subdomains, class_name: 'WcoHosting::Subdomain'
has_many :profiles, class_name: 'Wco::Profile', inverse_of: :leadset
has_many :subscriptions, class_name: 'Wco::Subscription', inverse_of: :leadset
has_and_belongs_to_many :tags, class_name: 'Wco::Tag'