Fetch a page from your site from console


/ Published in: Rails
Save to your folder(s)

Add this to .irbrc.
Allows the following in console:
> gethtml('/login')
=> HTML of whatever page is generated by /login

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.