# \[Authlogic\]

**URL:** <https://www.ruby-forum.com/t/authlogic/175825>\
**Category:** Rails\
**Created:** [September 20, 2009, 11:32pm UTC](https://www.ruby-forum.com/t/authlogic/175825 "2009-09-20T23:32:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lb2007](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@Lb2007](https://www.ruby-forum.com/u/Lb2007)\
**Post date:** [September 20, 2009, 11:32pm UTC](https://www.ruby-forum.com/t/authlogic/175825/1 "2009-09-20T23:32:59Z")

</div>

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](http://codepad.org/lm43n9KN)  
WEBrick output (bigger tracelog): [Ruby code - 27 lines - codepad](http://codepad.org/owmJoGMx)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Lb2007](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@Lb2007](https://www.ruby-forum.com/u/Lb2007)\
**Post date:** [September 20, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/authlogic/175825/2 "2009-09-20T23:38:50Z")

</div>

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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Passenger output (and called methods): [http://codepad.org/lm43n9KN](http://codepad.org/lm43n9KN)  
> WEBrick output (bigger tracelog): [http://codepad.org/owmJoGMx](http://codepad.org/owmJoGMx)
> 
> Thanks in advance.

–  
Yorick

---

<div class="post-metadata">

**Author:** ![Lb2007](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@Lb2007](https://www.ruby-forum.com/u/Lb2007)\
**Post date:** [September 21, 2009, 9:50am UTC](https://www.ruby-forum.com/t/authlogic/175825/3 "2009-09-21T09:50:34Z")

</div>

2009/9/20 Yorick [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> > `^’ for “e”:String’. I’ve double checked the lines in the Authlogic
> > 
> > Thanks in advance.

It is possibly a bug in rails 2.3.4 as noted by Frederick C. here  
in [Undefined method `^' for "d":String - Rails - Ruby-Forum](http://www.ruby-forum.com/topic/195200)  
Google found that for me.

Colin
