500 Internal Server Error - wrong number of arguments

I am getting the following error:

/!\ FAILSAFE /!\ Tue May 06 08:32:25 -0500 2008
Status: 500 Internal Server Error
wrong number of arguments (2 for 0)

I looked at the controller code and I am not using ruby send command
or anything that looks like code that redefine rails method. The error
message does not really help in pointing where the problem occurs. Any
ideas on how to debug this? Thanks

On 6 May 2008, at 14:38, saljamil wrote:

I am getting the following error:

/!\ FAILSAFE /!\ Tue May 06 08:32:25 -0500 2008
Status: 500 Internal Server Error
wrong number of arguments (2 for 0)

Quick guess: do you have an action called process ?

Fred

Frederick C. wrote:

Quick guess: do you have an action called process ?

Fred

Yes, I did have an action called process. Thank you Fred!! I couldn’t
figure out what was causing such a weird error. Renaming the action
from “process” to “process_login” fixed the problem.

Please disregard this posting. I found the issue. I had a method
called “process” in my controller which I guess is causing the
confusion. I changed it to “lprocess” and that fixed the issue.

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