Created
March 26, 2012 23:18
-
-
Save rkbodenner/2210543 to your computer and use it in GitHub Desktop.
Use ~/.irbrc to load Rails-specific code in your script/console
This file contains 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
load File.dirname(__FILE__) + '/.railsrc' if $0 == 'irb' && ENV['RAILS_ENV'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment