Sha256: 08659852b4cda8309577ecc1bb2e601d4956c8c0641b303eb40aa4efa75f11eb
Contents?: true
Size: 211 Bytes
Versions: 2
Compression:
Stored size: 211 Bytes
Contents
class User < ApplicationRecord include Pythia has_pythia_password validates :name, uniqueness: true validates :password_digest, presence: { message: "Invalid password (must not be blank)" } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pythia-0.0.3-x86_64-linux | test/dummy/app/models/user.rb |
pythia-0.0.2-x86_64-linux | test/dummy/app/models/user.rb |