diff --git a/Gemfile.lock b/Gemfile.lock index 3c9e3c2fc..6b8becb0d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -650,13 +650,13 @@ GEM activesupport (>= 5.2.0) slack-notifier (2.4.0) smart_properties (1.17.0) - sorbet (0.5.10969) - sorbet-static (= 0.5.10969) - sorbet-runtime (0.5.10969) - sorbet-static (0.5.10969-x86_64-linux) - sorbet-static-and-runtime (0.5.10969) - sorbet (= 0.5.10969) - sorbet-runtime (= 0.5.10969) + sorbet (0.5.11139) + sorbet-static (= 0.5.11139) + sorbet-runtime (0.5.11139) + sorbet-static (0.5.11139-x86_64-linux) + sorbet-static-and-runtime (0.5.11139) + sorbet (= 0.5.11139) + sorbet-runtime (= 0.5.11139) sparql-client (3.2.2) net-http-persistent (~> 4.0, >= 4.0.2) rdf (~> 3.2, >= 3.2.11) diff --git a/app/models/user.rb b/app/models/user.rb index d942dd514..8b97c1ce2 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -10,6 +10,7 @@ class User < ApplicationRecord include Devise::Models::Authenticatable include Devise::Models::Confirmable include Devise::Models::Recoverable + include Devise::Models::Validatable extend Devise::Models::Validatable::ClassMethods # Include default devise modules. Others available are: diff --git a/sorbet/rbi/shims/devise_registrations_controller.rbi b/sorbet/rbi/shims/devise_registrations_controller.rbi index 8135a98ac..7950232fd 100644 --- a/sorbet/rbi/shims/devise_registrations_controller.rbi +++ b/sorbet/rbi/shims/devise_registrations_controller.rbi @@ -2,6 +2,6 @@ module Devise class RegistrationsController - def resource; end + def create; end end end