app/models/exception_handler/error.rb in exception_handler-0.4.6 vs app/models/exception_handler/error.rb in exception_handler-0.4.7
- old
+ new
@@ -1,10 +1,10 @@
module ExceptionHandler
class Error < ActiveRecord::Base
#Table is called "errors"
#Dev needs to use migration to create db
def self.table_name
- ExceptionHandler.config[:db]
+ ExceptionHandler.config.db
end
#Associations
belongs_to :usable, polymorphic: true
\ No newline at end of file