s
2006-Apr-13 23:04 UTC
[Rails] keep getting undefined method `rewrite'' error for mapped urls
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 http://app/start/show/url 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. Sabon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060413/52c1977b/attachment.html