Christopher Berner
2007-Oct-15 02:43 UTC
routing error in 1.2.3, do I need realpath() in all apps?
I have my applications hosted on a shared server which is running rails
1.2.3, and I''m having a routing problem. Whenever I try to access one
of
actions I get this error:
"Routing Error
no route found to match "/items/list" with {:method=>:get}"
I googled the error and found that I should add .realpath() to the
RAILS_ROOT in boot.rb. Is there a better fix for this, or was it patched
in a newer version of rails? It seems like I shouldn''t have to edit
boot.rb for every application that I make.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---