app/volt/models/user.rb in volt-0.8.26.beta1 vs app/volt/models/user.rb in volt-0.8.26
- old
+ new
@@ -10,10 +10,9 @@
:email
end
end
validate login_field, unique: true, length: 8
- validate :email, email: true
if RUBY_PLATFORM == 'opal'
# Don't validate on the server
validate :password, length: 8
end