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

Version Path
knitkit-2.1.15 app/models/website_inquiry.rb
knitkit-2.1.14 app/models/website_inquiry.rb
knitkit-2.1.13 app/models/website_inquiry.rb
knitkit-2.1.12 app/models/website_inquiry.rb
knitkit-2.1.11 app/models/website_inquiry.rb
knitkit-2.1.10 app/models/website_inquiry.rb
knitkit-2.1.9 app/models/website_inquiry.rb
knitkit-2.1.8 app/models/website_inquiry.rb
knitkit-2.1.7 app/models/website_inquiry.rb
knitkit-2.1.6 app/models/website_inquiry.rb
knitkit-2.1.5 app/models/website_inquiry.rb
knitkit-2.1.4 app/models/website_inquiry.rb
knitkit-2.1.3 app/models/website_inquiry.rb
knitkit-2.1.2 app/models/website_inquiry.rb
knitkit-2.1.1 app/models/website_inquiry.rb
knitkit-2.1.0 app/models/website_inquiry.rb