class Account < ApplicationRecord serialize :password, CryptSerializer end