test/dummy/app/models/user.rb in devise_token_auth-0.1.43 vs test/dummy/app/models/user.rb in devise_token_auth-0.2.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
class User < ActiveRecord::Base
include DeviseTokenAuth::Concerns::User
validates :operating_thetan, numericality: true, allow_nil: true
validate :ensure_correct_favorite_color