ruby - What's a good way to test 'link_to' and other view helpers from the rails console? -
i use rails console lot , wondering best way test view helpers such 'link_to' or 'url_for' using it.
what's best way this?
just include urlwriter module in console:
include actioncontroller::urlwriter
Comments
Post a Comment