Customize Rails console with more useful defaults.
Useful for local development as well as inspecting production system output.
Introduces an optional Bundler group to control what gems are loaded into your console. This is uesful to prevent console specific gems from being loaded into your production environment
- autoload gems in
consolegroup into your console
- print all SQL statments executed within the current console
- (optional) auto enable HIRB to pretty print
- (optional) auto start WIRB to colorize ruby object inspection
# Gemfile gem 'rails-console-tweaks' # add any gems that should be available only to the console group :console do gem 'wirb' gem 'hirb' gem 'awesome_print' end
That's it! No extra configuration is necessary!
- Fork the project
- Fix the issue
- Add unit tests
- Submit pull request on github
See CONTRIBUTORS.txt for list of project contributors
Copyright (c) 2011 Ryan Sonnek See LICENSE.txt for further details.