Created
January 13, 2011 22:11
-
-
Save lporras/778722 to your computer and use it in GitHub Desktop.
How to user Hirb gem in rails 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. add to gemfile: | |
gem 'hirb' | |
2. run bundle command | |
3. open the rails console | |
4. input: require 'hirb' | |
5. Enable the use of hirb on rails console: Hirb.enable | |
6. view the database log info: ActiveRecord::Base.logger = Logger.new(STDOUT) | |
7. To disable hirb: Hirb.disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this.