1 2 3 4 5 6 7 8 9 10 11 12 13
class User < BaseModel include Carbon::Emailable include Authentic::PasswordAuthenticatable table do column email : String column encrypted_password : String end def emailable : Carbon::Address Carbon::Address.new(email) end end