Skip to content

Commit 07482cb

Browse files
Use extend here instead of include
1 parent c1ccb4d commit 07482cb

File tree

1 file changed

+1
-1
lines changed
  • elasticsearch-model/lib/elasticsearch/model

1 file changed

+1
-1
lines changed

elasticsearch-model/lib/elasticsearch/model/proxy.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def self.__elasticsearch__ &block
6161

6262
# Mix the importing module into the `ClassMethodsProxy`
6363
self.__elasticsearch__.class_eval do
64-
include Adapter.from_class(base).importing_mixin
64+
extend Adapter.from_class(base).importing_mixin
6565
end
6666

6767
# Register a callback for storing changed attributes for models which implement

0 commit comments

Comments
 (0)