My two methods using Devise:
Method1
def self.find_first_by_auth_conditions(warden_conditions) conditions = warden_conditions.dup wh
signin
conditions
login