Last Updated: February 25, 2016
·
831
· hotfusionman

A useful Rails 4 .irbrc file

I've been collecting convenience methods I find useful while developing on Rails 3 / 4. Included are methods for converting paths to routing definition hashes, figuring out the name of the path helper method that can generate a given path, and enabling use of Factory Girl to make database records from the Rails console.

Gisted at http://j.mp/10Fr0Sa .