Skip to content

Commit

Permalink
Quick fix to solve undefined method downcase for 2:Fixnum error
Browse files Browse the repository at this point in the history
  • Loading branch information
aceunreal committed Jul 14, 2015
1 parent 41dcfb6 commit 100091b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/grape_logging/middleware/request_logger.rb
Expand Up @@ -33,7 +33,7 @@ def parameters
method: request.request_method,
total: total_runtime,
db: @db_duration.round(2),
status: response.status
status: @app_response.try(:status) || 200
}
end

Expand All @@ -59,4 +59,4 @@ def stop_time
end
end
end
end
end

2 comments on commit 100091b

@aceunreal
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is linked to the following error:
ruby-grape/grape#1059

@leandronunes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aceunreal when do you pretend make a new release with this fix?
I will appreciate.

Please sign in to comment.