Put the attached files into your home directory and enjoy.
.irbrc
- defines
interesting_methods
, which is essentially all methods without top-level methods inherited from Object/Module - requires
awesome_print
Show archive.org snapshot , if present - requires
interactive_editor
Show archive.org snapshot , if present (basically makes vim available) - loads .irbrc_rails if in Rails (e.g. for the Rails console)
.irbrc_rails
- defines
efind(email)
, which is a shortcut to find users by email - requires
hirb
Show archive.org snapshot , if present - set the prompt to your Rails app's name
Of course you can put anything into these files :)
Posted by Dominik Schöler to makandra dev (2013-06-07 12:08)