lib/bugsnag/rack.rb in bugsnag-1.0.2 vs lib/bugsnag/rack.rb in bugsnag-1.0.3
- old
+ new
@@ -25,12 +25,12 @@
session = env['rack.session'] || {}
params = env['action_dispatch.request.parameters'] || request.params || {}
{
- :userId => session[:session_id] || session["session_id"],
+ :user_id => session[:session_id] || session["session_id"],
:context => Bugsnag::Helpers.param_context(params),
- :metaData => {
+ :meta_data => {
:request => {
:url => request.url,
:controller => params[:controller],
:action => params[:action],
:params => bugsnag_filter_if_filtering(env, Bugsnag::Helpers.cleanup_hash(params.to_hash)),