#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

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

Referenced by