app/models/alchemy_crm/mailing.rb in alchemy_crm-2.0.5 vs app/models/alchemy_crm/mailing.rb in alchemy_crm-2.1.0a

- old
+ new

@@ -1,8 +1,17 @@ # encoding: UTF-8 module AlchemyCrm class Mailing < ActiveRecord::Base + attr_accessible( + :newsletter_id, + :name, + :subject, + :additional_email_addresses, + :creator_id, + :updater_id + ) + MAILING_PAGE_LAYOUT_PREFIX = "newsletter_layout_" belongs_to :page, :dependent => :destroy, :class_name => 'Alchemy::Page' has_many :deliveries, :dependent => :destroy has_many :recipients, :through => :deliveries