Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveranthony17 committed Nov 25, 2024
1 parent 6982c72 commit ba48c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moirai/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Engine < ::Rails::Engine
I18n.original_backend = I18n.backend
if ActiveRecord::Base.connection.data_source_exists?("moirai_translations") || ENV["RAILS_ENV"] == "test"
I18n.backend = I18n::Backend::Chain.new(I18n::Backend::Moirai.new, I18n.backend)
Moirai::TranslationSync.new.synchronize
# Moirai::TranslationSync.new.synchronize
else
Rails.logger.warn("moirai disabled: tables have not been generated yet.")
end
Expand Down

0 comments on commit ba48c7f

Please sign in to comment.