lib/meilisearch-rails.rb in meilisearch-rails-0.5.0 vs lib/meilisearch-rails.rb in meilisearch-rails-0.5.1
- old
+ new
@@ -222,10 +222,10 @@
# Default queueing system
if defined?(::ActiveJob::Base)
# lazy load the ActiveJob class to ensure the
# queue is initialized before using it
- autoload :MSJob, 'meilisearch/ms_job'
+ autoload :MSJob, 'meilisearch/rails/ms_job'
end
# this class wraps an MeiliSearch::Index document ensuring all raised exceptions
# are correctly logged or thrown depending on the `raise_on_failure` option
class SafeIndex