Profile
Achievement
insanedreamer's Recent SnippetsTagged rails
- All /
« Prev 1 Next »
Add this to .irbrc.
Allows the following in console:
> gethtml('/login')
=> HTML of whatever page is generated by /login
0
3893
posted 16 years ago by insanedreamer
in Rails 2, use `include ActionController::UrlWriter` instead.
1
3827
posted 16 years ago by insanedreamer
Put this in `test_helper.rb` and call with `show(object1, object2, etc.)`
0
3789
posted 16 years ago by insanedreamer