lib/ish/lead.rb in ish_models-0.0.33.140 vs lib/ish/lead.rb in ish_models-0.0.33.141
- old
+ new
@@ -7,13 +7,13 @@
include Mongoid::Document
include Mongoid::Timestamps
store_in :collection => 'ish_lead'
- belongs_to :profile, :class_name => 'IshModels::UserProfile'
+ belongs_to :profile, :class_name => '::Ish::UserProfile'
- has_and_belongs_to_many :campaigns, :class_name => 'Ish::Campaign', :inverse_of => :leads
- has_and_belongs_to_many :unsubscribe_campaigns, :class_name => 'Ish::Campaign', :inverse_of => :unsubscribe_leads
+ has_and_belongs_to_many :campaigns, :class_name => '::Ish::Campaign', :inverse_of => :leads
+ has_and_belongs_to_many :unsubscribe_campaigns, :class_name => '::Ish::Campaign', :inverse_of => :unsubscribe_leads
field :email
field :job_url
field :company_url
field :website_html