Sha256: 77a7f58befd1e6599fc9eeb2510d93e2623aca20476b06e0f8ff3e767be2ad1a
Contents?: true
Size: 264 Bytes
Versions: 36
Compression:
Stored size: 264 Bytes
Contents
class User < ActiveRecord::Base # this is where the magic happens blogs # Find the User by username and password def self.authenticate(attribute_hash) find_by_username_and_password(attribute_hash[:username], attribute_hash[:password]) end end
Version data entries
36 entries across 36 versions & 2 rubygems