Sha256: 8f734738cd2557deba797d2f771061d28aa9fd88f7de2f25e294ec5380657f18

Contents?: true

Size: 197 Bytes

Versions: 2

Compression:

Stored size: 197 Bytes

Contents

class Email < ActiveRecord::Base
  attr_accessible :customer_id, :email, :infos, :private, :emailable
  
  belongs_to :emailable, :polymorphic => true
  
  validates :emailable, presence: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/models/email.rb
guara-0.0.1.rc app/models/email.rb