Forum: Ruby on Rails TypeError during a redirection

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
gael.leonet (Guest)
on 2005-12-07 17:54
(Received via mailing list)

I have a problem with Rails 0.14.3. I have an application which uses 2
databases : oracle and postgresql. I can connect to the both databases
and use them.

The application works correctly (I can reach the controllers, add
records in the databases without errors) but during or after a
redirection I receive an error. I check with breakpoint and the log, I
see in the log : "Redirected to http://localhost:3000/result" and just
after the error message :

/TypeError in Invoice#index

can't convert String into Integer

RAILS_ROOT : script/../config/..

in 'process_without_session_management_support'

/In the error message, there is no line of my code, just files from
rails (actionpack, rails or webrick)

Did somebody already meet this error or has an idea to solve it ?

Thanks in advance

This topic is locked and can not be replied to.