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 .
Written by Al Chou
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails 3
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#