lib/boom_nats/railtie.rb in boom_nats-0.1.2 vs lib/boom_nats/railtie.rb in boom_nats-0.1.3

- old
+ new

@@ -1,14 +1,14 @@ module BoomNats - class Railtie < Rails::Railtie + class Railtie < ::Rails::Railtie initializer "activeservice.autoload", before: :set_autoload_paths do |app| # app.config.autoload_paths << ActiveService::Configuration.path - app.config.eager_load_paths << Rails.root.join("app", "consumers").to_s + app.config.eager_load_paths << ::Rails.root.join("app", "consumers").to_s end initializer "boom_nats.railtie.configure_rails_initialization" do |app| app.config.nats = BoomNats.setup - BoomNats.logger = Rails.logger + BoomNats.logger = ::Rails.logger end server do |app| app.config.nats.start end