Sha256: 93506b2de52ab9dee68349df83d6ea6c01dedf5150a1438aa525e0c4cecce69c

Contents?: true

Size: 502 Bytes

Versions: 9

Compression:

Stored size: 502 Bytes

Contents

module ActionController #:nodoc:
  module Components
    module InstanceMethods
      private

      # By default, this logs *WAY* too much data for us when we're doing sidebars--I've seen ~2M
      # per hit.  This has a negative impact on performance.
      alias_method :component_logging_with_unfiltered_options, :component_logging
      def component_logging(options, &block)
        component_logging_with_unfiltered_options(options.reject {|k,v| k==:params}, &block)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
typo-3.99.0 lib/rails_patch/components.rb
typo-3.99.3 lib/rails_patch/components.rb
typo-3.99.1 lib/rails_patch/components.rb
typo-3.99.2 lib/rails_patch/components.rb
typo-4.0.1 lib/rails_patch/components.rb
typo-3.99.4 lib/rails_patch/components.rb
typo-4.0.0 lib/rails_patch/components.rb
typo-4.0.2 lib/rails_patch/components.rb
typo-4.0.3 lib/rails_patch/components.rb