Here's what I've (re)learned after a few hours poking at Sequel and
ActiveModel::SecurePassword.has_secure_password
In olden times (pre-AM 4.3?) I seem to recall that there were more than one ActiveModel
module that needed to be included in a
non-ActiveRecord::Base
subclass to get it to meet requirements for has_secure_password
. That has now been reduced to one (meta-)module.
For example, see the below user.rb
file. All you need is include ActiveModel::SecurePassword
, apparently.