Class: NtiEventBus::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- NtiEventBus::Railtie
- 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.