From d5b9c6266066ec843fdf94e1a6b40842dd1e5003 Mon Sep 17 00:00:00 2001 From: shiratsu Date: Tue, 13 Jul 2021 11:26:25 +0900 Subject: [PATCH] =?UTF-8?q?error=E5=AF=BE=E5=BF=9C=20https://github.com/th?= =?UTF-8?q?iagopradi/octopus/issues/540=20=E3=82=92=E5=8F=82=E8=80=83?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/octopus/collection_association.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/octopus/collection_association.rb b/lib/octopus/collection_association.rb index 6713271a..e688f0c4 100644 --- a/lib/octopus/collection_association.rb +++ b/lib/octopus/collection_association.rb @@ -1,7 +1,7 @@ module Octopus module CollectionAssociation def self.included(base) - if Octopus.rails51? || Octopus.rails52? + if Octopus.atleast_rails51? base.sharded_methods :reader, :writer, :ids_reader, :ids_writer, :create, :create!, :build, :include?, :load_target, :reload, :size, :select