#32 ✓resolved
Josh Pencheon

An issue with eval? (credentials.rb)

Reported by Josh Pencheon | January 29th, 2009 @ 03:20 PM

Hi Ben,

This may be nothing, but I was having a look through the source, and noticed that although when you define the password setter, name the alias according to the options, whereas with the other methods you're naming the alias using the default option. I realise that isn't very clear, but I don't really want to paste in reams of code!

Found at: /lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb

i.e. line 71 vs. lines 103 and 114. I've seen you've commented on line 71 regarding method chaining, so this might be the intended behaviour, but I wasn't sure!

Thanks for the great plugin, Josh

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Tags

Pages