We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1ccb4d commit 07482cbCopy full SHA for 07482cb
elasticsearch-model/lib/elasticsearch/model/proxy.rb
@@ -61,7 +61,7 @@ def self.__elasticsearch__ &block
61
62
# Mix the importing module into the `ClassMethodsProxy`
63
self.__elasticsearch__.class_eval do
64
- include Adapter.from_class(base).importing_mixin
+ extend Adapter.from_class(base).importing_mixin
65
end
66
67
# Register a callback for storing changed attributes for models which implement
0 commit comments