Class: Whodunit::Railtie
- Inherits:
-
Object
- Object
- Whodunit::Railtie
- Defined in:
- lib/whodunit/railtie.rb
Overview
Note:
When Rails is not available, this class safely inherits from Object and does not cause any errors.
Rails integration for automatic setup of Whodunit functionality.
This Railtie automatically extends ActiveRecord migrations with MigrationHelpers and includes ControllerMethods in ActionController::Base when Rails is available. It provides seamless integration without requiring manual setup.