> What's the error that you see, url_for should just return the string
> shouldn't it?
The error is "can't convert String into Hash." If I understand
correctly, it's caused by a namespace collision due to the order of
includes:
> include ActionView::Helpers::UrlHelper # provides link_to (and
Hi,
When I moved from Rails 2.1 to edge, I found that the old trick of
putting
> include ActionView::Helpers::UrlHelper # provides link_to
> include ActionController::UrlWriter # provides url_for
into models didn't work as well as it used to because of
> http://github.com/rails/rails/commit/