Routing error with popup


#1

I am getting a routing error when trying to open a window with :popup
=> true

I do not get the error on localhost only on the server.

I am only getting a routing error when accessing …/ICA/…

Code

#…/page/list
<%= link_to ‘Preview’,{ :controller => “ICA”, :action => ‘index’, :id
=> page},:popup => true %>

class ICAController < ApplicationController

def index

end

Error

Routing Error

Recognition failed for “/ICA/index/91”

Yes - index/91 exists. As I said it works find on my local computer -
just not on the server

Do I need to do something different in the popup call or in the
route.rb? Please help.

Thanks in advance - K


#2

This is what my dev logs have to say. I noticed that my paremeters are
not being set - which then makes since why I am getting the error, but
why are my parameters not getting set?

Rendering /var/www/ica/html/trunk/public/…/config/…/vendor/rails/
actionpack/lib/action_controller/templates/rescues/layout.rhtml (404
Page Not Found)

Processing Base#index (for 128.193.163.30 at 2007-02-14 16:10:25)
[GET]
Session ID: 85438c4bf9c30288c64258c6fbc4c6ed
Parameters: {} # no parameters ??

ActionController::RoutingError (Recognition failed for “/ICA/index/
112”):
/vendor/rails/actionpack/lib/action_controller/routing.rb:522:in
recognition_failed' /vendor/rails/actionpack/lib/action_controller/routing.rb:512:inrecognize!’
/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch’
/var/www/ica/html/trunk/public/dispatch.cgi:10


#3

Thanks to the people on this list, I fixed it.

The problem was that I called it ICA - changed it to Ica and it works.
I guess unix/linux is more case sensitive then window so when I
deployed to a unix box it broke the ICA call.

Thanks.