After I upgraded my Authlogic to 2.1.2 I''m facing an odd error when trying to use my webpage; it comes up with an error ''undefined method `^'' for "e":String''. I''ve double checked the lines in the Authlogic code (see codepad urls for the tracelog), but I can find no trace of any "^" in the code anywhere. The methods that result in this error are the default current_user(_session) methods from the Authlogic docs. I''m not sure if this is a bug in Authlogic or my code, but I''d love to know the answer to that! Passenger output (and called methods): http://codepad.org/lm43n9KN WEBrick output (bigger tracelog): http://codepad.org/owmJoGMx Thanks in advance.
I forgot to mention; this is on Ruby 1.9.1 with Rails 2.3.4, the error is not appearing on my Windows devbox with Ruby 1.8 and Rails 2.3.3, which is making it rather odd. Downgrading Authlogic does not prove to be a solution either, so it''s likely unrelated. I also note that I forgot to add a subject after the tag, I''m very sorry, I''m chaotic today. On Sun, Sep 20, 2009 at 11:31 PM, Lb2007 <yorixz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> After I upgraded my Authlogic to 2.1.2 I''m facing an odd error when > trying to use my webpage; it comes up with an error ''undefined method > `^'' for "e":String''. I''ve double checked the lines in the Authlogic > code (see codepad urls for the tracelog), but I can find no trace of > any "^" in the code anywhere. The methods that result in this error > are the default current_user(_session) methods from the Authlogic > docs. > > I''m not sure if this is a bug in Authlogic or my code, but I''d love to > know the answer to that! > > Passenger output (and called methods): http://codepad.org/lm43n9KN > WEBrick output (bigger tracelog): http://codepad.org/owmJoGMx > > Thanks in advance.-- Yorick --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
2009/9/20 Yorick <yorixz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> I forgot to mention; this is on Ruby 1.9.1 with Rails 2.3.4, the error is > not appearing on my Windows devbox with Ruby 1.8 and Rails 2.3.3, which is > making it rather odd. Downgrading Authlogic does not prove to be a solution > either, so it''s likely unrelated. I also note that I forgot to add a subject > after the tag, I''m very sorry, I''m chaotic today. > > On Sun, Sep 20, 2009 at 11:31 PM, Lb2007 <yorixz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> After I upgraded my Authlogic to 2.1.2 I''m facing an odd error when >> trying to use my webpage; it comes up with an error ''undefined method >> `^'' for "e":String''. I''ve double checked the lines in the Authlogic >> code (see codepad urls for the tracelog), but I can find no trace of >> any "^" in the code anywhere. The methods that result in this error >> are the default current_user(_session) methods from the Authlogic >> docs. >> >> I''m not sure if this is a bug in Authlogic or my code, but I''d love to >> know the answer to that! >> >> Passenger output (and called methods): http://codepad.org/lm43n9KN >> WEBrick output (bigger tracelog): http://codepad.org/owmJoGMx >> >> Thanks in advance. >It is possibly a bug in rails 2.3.4 as noted by Frederick Cheung here in http://www.ruby-forum.com/topic/195200 Google found that for me. Colin
Apparently Analagous Threads
- [Rspec] Using Mocha results in uninitialized constant, using a 'fix' breaks RSpec output
- Authlogic: Trying to login in my Cucumber test - Authlogic::Session::Activation::NotActivatedError
- authlogic fails on existing accounts when crypted_password is blank
- Authlogic and rails 3 : NameError in User sessionsController#new
- NoMethodError in User sessionsController#create - Authlogic