amitmahajan-pCGr9Sw2R8Y@public.gmane.org
2008-Oct-08 10:56 UTC
private method `gsub'' called for 2:Fixnum
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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
amitmahajan-pCGr9Sw2R8Y@public.gmane.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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Max Williams wrote:> amitmahajan-pCGr9Sw2R8Y@public.gmane.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 :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- tests problem - NoMethodError: private method `gsub' called for 117681882:Fixnum
- showing error (gsub) when switching from session to cookies
- AssociationTypeMismatch got Fixnum
- NoMethodError: `bytesize' for 200:Fixnum (with Rails-3.0.3)
- expected, got Fixnum problem.