Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
add attr_accessable logged_exception.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouguangming committed Jun 16, 2012
1 parent 5dd72a5 commit 8c3a729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/exception_logger/logged_exception.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module ExceptionLogger
class LoggedException < ActiveRecord::Base
attr_accessible :exception_class, :controller_name, :action_name, :message, :backtrace, :request
class << self
def create_from_exception(controller, exception, data)
message = exception.message.inspect
Expand Down

0 comments on commit 8c3a729

Please sign in to comment.