Sha256: a78a4b8240afb8fba58a30200725f33fb7c4cc4e194718140c61a6f0eff8b67d
Contents?: true
Size: 291 Bytes
Versions: 10
Compression:
Stored size: 291 Bytes
Contents
class EmailTemplate < ActiveRecord::Base before_save :clean_inputs attr_accessible :body, :subject, :name, :template_type, :sent_to, :when_sent, :email_template_comments_attributes, :from_name, :from_email, :reply_to def clean_inputs body.strip! subject.strip! end end
Version data entries
10 entries across 10 versions & 1 rubygems