#1 ✓ resolved

login_field duplicates not allowed with scope

Reported by jemminger | November 1st, 2008 @ 10:22 PM

authgasm seems to be forcing

 validates_uniqueness_of :login_field

whereas in my app i want to scope logins to an account, e.g.

 validates_uniqueness_of :login_field, :scope => :account_id

Comments and changes to this ticket

  • Ben Johnson

    Ben Johnson November 2nd, 2008 @ 01:15 AM

    • State changed from “new” to “open”

    Thanks for letting me know about this. It's funny, because I am actually working on scope support right now. I should have this done shortly.

  • Ben Johnson

    Ben Johnson November 3rd, 2008 @ 12:49 AM

    • State changed from “open” to “resolved”

    This is all set. I released an update with some serious scope support. Checkout the readme.

    Also, I changed the name from authgasm to authlogic. I recommend uninstalling authgasm and installing authlogic.


  • jemminger

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