Displaying 1 result from an estimated 1 matches for "e_to_control".
2006 Oct 03
0
rs.recognize_path "/home" is not working in script/console
...r.
Loading development environment.
>> rs = ActionController::Routing::Routes
>> rs.recognize_path "/home/index"
TypeError: can''t convert Fixnum into String
from c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/routing.rb:228:in
`travers
e_to_controller''
from generated/routing/recognition.rb:7:in `recognize_path''
from (irb):7
from :0
However this works.
>> rs.generate :controller => ''user'', :action => ''login''
=> ["/user/login", []]
>>...