Sha256: 8cbd8b94568063941f4023dfd803d81aa9e5c968dc9570cde22500c84e655540
Contents?: true
Size: 505 Bytes
Versions: 7
Compression:
Stored size: 505 Bytes
Contents
class Ticket < ActiveRecord::Base attr_protected :created_at, :updated_at belongs_to :user, :foreign_key => 'assigned_to_id' acts_as_dynamic_form_model has_file_assets has_dynamic_forms has_dynamic_data acts_as_commentable 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
7 entries across 7 versions & 1 rubygems