Class: User

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/generators/authlogic/complete/templates/user.rb

Class Method Summary collapse

Class Method Details

.find_by_username_or_email(login) ⇒ Object



7
8
9
# File 'lib/generators/authlogic/complete/templates/user.rb', line 7

def self.find_by_username_or_email() 
  () || find_by_email() 
end