Sha256: 58938bd11e9f312580ed1671ed7f9aea9091d755afaf331a3252937fbfccbb69

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

module Campagne
  class CampagneContact < ActiveRecord::Base
    has_and_belongs_to_many :campagne_lists

    attr_accessible :email, :name

    validates :email, :presence => true, :uniqueness => true, :email => true, :incorrect_email => true, :denied_email => true

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
campagne-0.1.2 app/models/campagne/campagne_contact.rb
campagne-0.1.1 app/models/campagne/campagne_contact.rb
campagne-0.1.0 app/models/campagne/campagne_contact.rb
campagne-0.0.2 app/models/campagne/campagne_contact.rb