Forum: Ruby on Rails keep getting undefined method `rewrite' error for mapped url

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
[s] (Guest)
on 2006-04-14 03:04
(Received via mailing list)
Hi all,

I've checked numerous manuals but can't find the answer anyway.

in my routes.rb file I have a mapping which maps
to   http://app/url

everything works fine BUT:

- when I want to use link_to, redirect_to (smth)
- when I try to even enter <%= form_tag :action =>
'some_other_action_from_the same_controller' %>

I keep getting this error:

undefined method `rewrite' for "xxxxxxx":String

"xxxxxxx" is the 'url' in the mapping and the addres (http://app/URL)

What am I doing wrong?
How can I fix this so that I could use other actions freely.

This topic is locked and can not be replied to.