Class: NtiEventBus::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/nti_event_bus/railtie.rb

Overview

Rails integration: sets sensible event-file path defaults and (re)builds the registry whenever the framework prepares the app. to_prepare runs once during boot in production and on every code reload in development, so event-file edits are picked up and stale handler references are released.