Skip to content

Commit

Permalink
error対応
Browse files Browse the repository at this point in the history
thiagopradi#540
を参考に
  • Loading branch information
shiratsu committed Jul 13, 2021
1 parent 3567856 commit d5b9c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octopus/collection_association.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d5b9c62

Please sign in to comment.