Sha256: b7befdc82d287d0d68294e86b4a7b8184d28e24846d4f2bd39a48ad97488f3af

Contents?: true

Size: 216 Bytes

Versions: 5

Compression:

Stored size: 216 Bytes

Contents

# An arbitrary grouping of campaigns for organizational use
#
class CampaignGroup < ActiveRecord::Base
  has_many :campaigns

  validates :name, :uniqueness => { :ignore_case => true }

  def to_s
    name
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
e9_crm-0.1.8 app/models/campaign_group.rb
e9_crm-0.1.7 app/models/campaign_group.rb
e9_crm-0.1.6 app/models/campaign_group.rb
e9_crm-0.1.5 app/models/campaign_group.rb
e9_crm-0.1.4 app/models/campaign_group.rb