Sha256: 45bc030de86e4ac6443f4b004366865c0eb6f0d3b02ed3d5f64908a8aabd70ee

Contents?: true

Size: 266 Bytes

Versions: 6

Compression:

Stored size: 266 Bytes

Contents

module Campagne
  class CampagneList < ActiveRecord::Base
    has_and_belongs_to_many :campagne_contacts
    has_and_belongs_to_many :campagne_campaigns

    attr_accessible :name, :contact_ids

    validates :name, :presence => true, :uniqueness => true

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
campagne-0.2.2 app/models/campagne/campagne_list.rb
campagne-0.2.0 app/models/campagne/campagne_list.rb
campagne-0.1.2 app/models/campagne/campagne_list.rb
campagne-0.1.1 app/models/campagne/campagne_list.rb
campagne-0.1.0 app/models/campagne/campagne_list.rb
campagne-0.0.2 app/models/campagne/campagne_list.rb