Class: Mize::Railtie

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

Overview

Rails integration.

Hooks into the Rails preparation lifecycle so that every code reload clears all Mize caches via Mize.cache_clear, preventing stale memoized results from surviving a development-environment class reload.

Loaded automatically by mize.rb only when Rails is defined.