Phusion Passenger problem with JS {:onchange => 'this.form.submit()'}


I have a Rails 2 app “2.3.5” that I added a search capability using
the abover JS on a dropdown list. It work fine on my local machine,
but when I deploy to our Centos server and change the dropdown value,
it forgets about the relative Phusion path that the app is on and
consequently gives a 404 error.

So, it’s going here (not a real url):

and it should be going here:

The “er” branch is being left off. Any input would be appreciated.



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs