can you show us the code you're using for the link_tos please? ----- Ryan Bigg Freelancer http://frozenplague.net
On 04/01/2009, at 8:49 PM, Sobert wrote: > > Hello. > > I've added some routes : > > map.news 'news', :controller => :News, :action =>:index > > map.login 'login', :controller => :Login , :action =>:index > > When I go to /news or /login before adding the routes, it works well. > > When I add the routes and clik on the link that goes to /news or / > login, I got a 500 internal error with this : > > /!\ FAILSAFE /!\ Sun Jan 04 11:18:54 +0100 2009 > Status: 500 Internal Server Error > undefined method `camelize' for :News:Symbol > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/routing/route_set.rb:388:in `recognize' > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/dispatcher.rb:182:in `handle_request' > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/dispatcher.rb:110:in `dispatch_unlocked' > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/dispatcher.rb:123:in `dispatch' > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/dispatcher.rb:122:in `synchronize' > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/dispatcher.rb:122:in `dispatch' > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/dispatcher.rb:132:in `dispatch_cgi' > c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ > action_controller/dispatcher.rb:39:in `dispatch' > c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../ > lib/mongrel/rails.rb:76:in `process' > > > Any ideas ? > > Thanks ! > > --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---