Sha256: 52d00254da938242387950fc85b3d8f40b962fb557237aeb8452e7c39c7aaa0d

Contents?: true

Size: 417 Bytes

Versions: 6

Compression:

Stored size: 417 Bytes

Contents

require 'airbrake/rails/controller_methods'

module Airbrake
  module Rails
    module ControllerMethods
      private

      def airbrake_request_data_with_user_attributes
        airbrake_request_data_without_user_attributes.merge(
          :user_attributes => Airbrake::CurrentUser.filtered_attributes(self)
        )
      end
      alias_method_chain :airbrake_request_data, :user_attributes

    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
airbrake_user_attributes_rails5-0.2.0 lib/airbrake_overrides/rails/controller_methods.rb
airbrake_user_attributes-0.1.6 lib/airbrake_overrides/rails/controller_methods.rb
airbrake_user_attributes-0.1.5 lib/airbrake_overrides/rails/controller_methods.rb
airbrake_user_attributes-0.1.4 lib/airbrake_overrides/rails/controller_methods.rb
airbrake_user_attributes-0.1.3 lib/airbrake_overrides/rails/controller_methods.rb
airbrake_user_attributes-0.1.2 lib/airbrake_overrides/rails/controller_methods.rb