reinstantiating lib dir

This commit is contained in:
Torsten Ruger 2015-07-18 11:25:11 +03:00
parent 19a0b7f9fe
commit 5c2f423f58
3 changed files with 0 additions and 12 deletions

View File

@ -1,12 +0,0 @@
# 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