Sha256: 9b12d5d0653372f38123d1347a14e127b2ce1039eb28621fdf9eb9ba87a12911

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bullet_instructure-4.14.8 lib/bullet/notification/unused_eager_loading.rb
bullet_instructure-4.14.7 lib/bullet/notification/unused_eager_loading.rb