lib/ish/lead.rb in ish_models-0.0.33.58 vs lib/ish/lead.rb in ish_models-0.0.33.59

- old
+ new

@@ -9,9 +9,12 @@ store_in :collection => 'ish_lead' belongs_to :profile, :class_name => 'IshModels::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 + field :email field :job_url field :company, :default => '' validates_uniqueness_of :company