Sha256: f56372f5bdf802619b9dd0213d6b6e715087686919ff941157a75e797dafa9b8
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
class RailsExceptionHandler::ActiveRecord class ErrorMessage < defined?(ActiveRecord) ? ActiveRecord::Base : Object if (defined?(ActiveRecord) && RailsExceptionHandler.configuration.activate? && RailsExceptionHandler.configuration.active_record?) establish_connection(RailsExceptionHandler.configuration.active_record_store_in[:database]) self.table_name = RailsExceptionHandler.configuration.active_record_store_in[:record_table] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_exception_handler-2.3.4 | app/models/rails_exception_handler/active_record/error_message.rb |