Sha256: 4b2f0e6a0a3fbf53c37ac263483ba5943afd37396f21a96d93dc6acf04de16a0

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

if(defined?(ActiveRecord) && RailsExceptionHandler.configuration.activate? && RailsExceptionHandler.configuration.active_record?)

  class ErrorMessage < ActiveRecord::Base
    establish_connection(:exception_database)
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_exception_handler-2.2.0 app/models/error_message.rb
rails_exception_handler-2.1.0 app/models/error_message.rb
rails_exception_handler-2.0.2 app/models/error_message.rb
rails_exception_handler-2.0.1 app/models/error_message.rb
rails_exception_handler-2.0.0 app/models/error_message.rb