lib/goldiloader/association_info.rb in goldiloader-2.1.2 vs lib/goldiloader/association_info.rb in goldiloader-3.0.0

- old
+ new

@@ -1,16 +1,16 @@ -# encoding: UTF-8 +# frozen_string_literal: true module Goldiloader class AssociationInfo def initialize(association) @association = association end delegate :association_scope, :reflection, to: :@association - def has_one? + def has_one? # rubocop:disable Naming/PredicateName reflection.has_one? end def offset? association_scope && association_scope.offset_value.present?