Sha256: 9d5de5348a0c9d864241ad30b6fdece7c6ec814d77a083effd34704093a5a307
Contents?: true
Size: 477 Bytes
Versions: 16
Compression:
Stored size: 477 Bytes
Contents
class WebsiteInquiry < ActiveRecord::Base attr_protected :created_at, :updated_at belongs_to :website belongs_to :user acts_as_dynamic_form_model has_dynamic_forms has_dynamic_data def send_email(subject='') begin WebsiteInquiryMailer.inquiry(self, subject).deliver rescue Exception => e system_user = Party.find_by_description('Compass AE') AuditLog.custom_application_log_message(system_user, e) end end end
Version data entries
16 entries across 16 versions & 1 rubygems