I wrote an app today that used authlogic 2.1.1 on ruby 1.8.6 just
fine.

-eric

On Aug 2, 8:04 pm, ado <[email protected]> wrote:
> Hi, I had the same issue - I think it has something to do with the
> latest version of Authlogic possibly requiring Ruby 1.9???, whereas
> I'm running 1.8.6 on my dev machine and I see you're running 1.8.7.
>
> The commit 53834196c8f82cac6b105126e3d267246b7b2b67 from July 2, 2009
> seems to be the issue:
> Use mb_chars when downcasing login to deal with international
> characters
>
> Specifying the previous gem version in my Rails environment seemed to
> do the trick:
> config.gem 'authlogic', :version => "= 2.1.0"
>
> Let me know how it goes.
>
> On Aug 3, 4:34 am, "Rzepak G." <[email protected]>
> wrote:
>
>
>
> > vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/login.rb:121:in
> > `find_with_case'
> > vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/login.rb:110:in
> > `find_by_smart_case_login_field'
> > vendor/plugins/authlogic/lib/authlogic/session/scopes.rb:95:in `send'
> > vendor/plugins/authlogic/lib/authlogic/session/scopes.rb:95:in
> > `search_for_record'
> > vendor/rails/activerecord/lib/active_record/base.rb:1852:in `with_scope'
> > vendor/plugins/authlogic/lib/authlogic/session/scopes.rb:94:in `send'
> > vendor/plugins/authlogic/lib/authlogic/session/scopes.rb:94:in
> > `search_for_record'
> > vendor/plugins/authlogic/lib/authlogic/session/password.rb:178:in
> > `validate_by_password'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in `send'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
> > `evaluate_method'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in `call'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in `run'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `each'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `send'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `run'
> > vendor/rails/activesupport/lib/active_support/callbacks.rb:272:in
> > `run_callbacks'
> > vendor/plugins/authlogic/lib/authlogic/session/callbacks.rb:71:in
> > `validate'
> > vendor/plugins/authlogic/lib/authlogic/session/validation.rb:62:in
> > `valid?'
> > vendor/plugins/authlogic/lib/authlogic/session/existence.rb:65:in `save'
> > app/controllers/user_sessions_controller.rb:8:in `create'
> > --
> > Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to