In rails 2, I use the console a lot and was wondering what the best way to test view helpers such as 'link_to' or 'url_for' using it.
What's the best way to do this?
You can add your include ActionView::Helpers::UrlHelper
to ~/.irbrc to auto load it when you start the console.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With