Posted By

insanedreamer on 07/16/10


Tagged

testing rails console rails3


Versions (?)

Fetch a page from your site from console


 / Published in: Rails
 

Add this to .irbrc. Allows the following in console:

gethtml('/login') => HTML of whatever page is generated by /login

Report this snippet  

You need to login to post a comment.