lib/snake-eyes/interface_changes.rb in snake-eyes-0.0.2 vs lib/snake-eyes/interface_changes.rb in snake-eyes-0.0.3
- old
+ new
@@ -3,10 +3,10 @@
def params
unless defined? @snake_eyes_params
@snake_eyes_params = ActionController::Parameters.new(super.deep_transform_keys(&:underscore))
if SnakeEyes.log_snake_eyes_parameters
- logger.info " SnakeEyes Parameters: #{@snake_eyes_params.except(:controller, :action).as_json}"
+ logger.info " SnakeEyes Parameters: #{@snake_eyes_params.except(:controller, :action).inspect}"
end
end
@snake_eyes_params
end