Skip to content

Commit 69ea1fe

Browse files
committed
Fix MeiliSearch module name casing in Project model and initializer
1 parent 08ef6c4 commit 69ea1fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/models/project.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class Project < ApplicationRecord
44

5-
include MeiliSearch::Rails
5+
include Meilisearch::Rails
66
extend Pagy::Meilisearch
77
ActiveRecord_Relation.include Pagy::Meilisearch
88

config/initializers/meilisearch.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
api_key = url.password
33
url_without_password = "#{url.scheme}://#{url.host}:#{url.port}"
44

5-
MeiliSearch::Rails.configuration = {
5+
Meilisearch::Rails.configuration = {
66
meilisearch_url: url_without_password,
77
meilisearch_api_key: api_key,
88
timeout: 10

0 commit comments

Comments
 (0)