Runtime Conf Tool Gem Version

A middleware to change configuration parameters at runtime for Rails 5.

Installation and Usage

  • Add this to your Gemfile:

gem 'runtime_config'

  • Add to config/environments/development.rb (path option is not mandatory, '/dev' is the default value):

config.middleware.use RuntimeConfig::Middleware, path: '/some_path'

  • Open the path (or the one set in the option): /dev

Features

  • Change log level
  • Filter log lines using a RegExp
  • Enable/disable catching errors
  • Eneble/disable verbose query logs
  • Toggle cache
  • Clear cache
  • Restart server

Preview

screenshot

Do you like it? Star it!

If you use this component just star it. A developer is more motivated to improve a project when there is some interest.

Contributors

License

MIT