We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8a707 commit 4174f66Copy full SHA for 4174f66
opensearch-model/spec/support/app/article_for_pagination.rb
@@ -18,6 +18,11 @@
18
class ::ArticleForPagination < ActiveRecord::Base
19
include OpenSearch::Model
20
21
+ # NOTE: This was added to fix pagination tests in ruby 3. It is not clear why
22
+ # this is necessary since this should be done automatically by including
23
+ # `OpenSearch::Model`.
24
+ include OpenSearch::Model::Importing
25
+
26
scope :published, -> { where(published: true) }
27
28
settings index: { number_of_shards: 1, number_of_replicas: 0 } do
0 commit comments