Sha256: 22164eecf7e36361391116f497abe1acc9e6228ca3b9b9072b1fd6666963e09d
Contents?: true
Size: 415 Bytes
Versions: 4
Compression:
Stored size: 415 Bytes
Contents
class Ticket < ActiveRecord::Base belongs_to :user, :foreign_key => 'assigned_to_id' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
erp_forms-2.0.6 | app/models/ticket.rb |
erp_forms-2.0.5 | app/models/ticket.rb |
erp_forms-2.0.4 | app/models/ticket.rb |
erp_forms-2.0.3 | app/models/ticket.rb |