class User < Rfm::Base
#
# you won't need the following module line because you're
# passwords are not encrypted
# include ActiveModel::SecurePassword
# you won't need the following module because
# you're not perfoming mass assingment, i.e.,
# editing or creating anything in the
# database, you're just finding a record and verifying
# it's content
# if you do plan to create or edit records using
# your User model, you'll want to uncomment, but
# for basic authentication, you won't need this.
# include ActiveModel::MassAssignmentSecurity
# you won't need the following because passwords
# are not encrypted
# has_secure_password
# as mentioned above, you're not performing mass assignment
# so you wont' need the following line
# attr_accessible :username, :password