method
to_prepare
v2.2.1 -
Show latest stable
- Class:
Rails::Configuration
to_prepare(&callback)public
Add a preparation callback that will run before every request in development mode, or before the first request in production.
See Dispatcher#to_prepare.