more ruby way is simple `user["encrypted"] = true`