Sha256: b7e3b3514b0759c3e0cf180d5a59a2cb6440eb02d9ad26d745f5011594340f44
Contents?: true
Size: 351 Bytes
Versions: 55
Compression:
Stored size: 351 Bytes
Contents
# By default Volt generates this User model which inherits from Volt::User, # you can rename this if you want. class User < Volt::User # login_field is set to :email by default and can be changed to :username # in config/app.rb field login_field field :name validate login_field, unique: true, length: 8 validate :email, email: true end
Version data entries
55 entries across 55 versions & 12 rubygems