Sha256: a192978852ab6391943a7572ea44540a09771ce35280979dae67bc65c69fce46
Contents?: true
Size: 332 Bytes
Versions: 2
Compression:
Stored size: 332 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, :send_via_mandrill, :send_via_gmail def clean_inputs body.strip! subject.strip! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
no_notifier_needed-2.3.8 | lib/generators/no_notifier_needed/templates/email_template.rb |
no_notifier_needed-2.3.7 | lib/generators/no_notifier_needed/templates/email_template.rb |