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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-May-06 13:50 UTC
Re: 500 Internal Server Error - wrong number of arguments
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> 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 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On May 6, 8:38 am, saljamil <salem.m.ja...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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) > > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> Quick guess: do you have an action called process ? > > FredYes, 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. -- Posted via http://www.ruby-forum.com/.