I have fixed these issues in my fork ( http://github.com/winton/authlogic ):
This is an important fix. Rails apps using Sinatra as metal can't use Authlogic without fixing these issues first. In fact, the Rails app won't even start specifically because of this incompatibility.
Just wanted to second this. The only change necessary for this to work for me was extending Sinatra::Base instead of Sinatra::Request, though I chose not to use the remote_ip field, and I am not using 1.9.
I am having the same issue as chrisdinn. My rails app using Sinatra as metal can start when using the Authlogic gem.
+1 I'm having the same issue with using Sinatra as metal in a rails app.
Also, I can also verify that the fix at winton/authlogic@5b3097e works.
winton's fix works for me as well. It would be nice if a new version with this fix could be released. Thanks!
Is there any plans to pull this in and release it any time soon? This has been open for 10 months it seems.
It would be really great if this was fixed in 2.1 as well as HEAD.
cool, this is big help, thanks
What's the status of this? This is a very simple fix and releases have been made since this has been opened. Is there a reason this isn't fixed yet?
Just checking in again. What's the status of this? Is this project not maintained anymore? Should the gem and repo be passed off to someone who will maintain it?
Guys, could you fix that? I've just run into this, looks like this bug has been lying here for 2 years now...