有再gemfile裡面gem 'devise'並且bundle install成功後
輸入
rails generate devise:install
卻出現
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activerecord-5.2.0/lib/active_record/dynamic_matchers.rb:22:in method_missing': undefined method
devise' for User (call 'User.connection' to establish a connection):Class (NoMethodError)