Sha256: 3a9d84b3b1a779a4e33d84eb0a096e8379b24ad281ca9c71c7a3181425400cc0

Contents?: true

Size: 295 Bytes

Versions: 45

Compression:

Stored size: 295 Bytes

Contents

module Bullet
  module Notification
    class UnusedEagerLoading < Base
      def body
        "#{klazz_associations_str}\n  Remove from your finder: #{associations_str}"
      end

      def title
        "Unused Eager Loading #{@path ? "in #{@path}" : 'detected'}"
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
bullet-4.1.1 lib/bullet/notification/unused_eager_loading.rb
bullet-4.1.0 lib/bullet/notification/unused_eager_loading.rb
bullet-4.0.0 lib/bullet/notification/unused_eager_loading.rb
bullet-2.3.1 lib/bullet/notification/unused_eager_loading.rb
bullet-2.3.0 lib/bullet/notification/unused_eager_loading.rb