RoR Error: “private method `gsub' called for 2:Fixnum” I am new to RoR and trying to complete “RailsSpace Social Networking” example, all works fine until I have implemented cookies using authorization_token, and start getting following error when trying to login. “private method `gsub' called for 2:Fixnum” I can make out that there is something related to String conversion but not sure go forward to resolve this.
on 2008-10-08 12:57
on 2008-10-08 14:50
email@example.com wrote: It's hard to know without any more detail. The stack trace (the list of method calls etc that's shown on the crash page) should point you towards the problem.
on 2008-10-08 14:53
Max Williams wrote: > firstname.lastname@example.org wrote: > > It's hard to know without any more detail. The stack trace (the list of > method calls etc that's shown on the crash page) should point you > towards the problem. Oh and by the way, when looking at the stack trace it's best to assume that the problem isn't with ruby, rails or whatever plugins you're using, and just read down the list for the first reference to your own code :)