Devise failing after DB Reset?
Everything was fine on my Jumpstart Pro app. Months of iterations and working commits and stable production deploy on Heroku. Today I went to clean up some migrations and had to reset the db. I reset the db, migrated and seeded it, and created an admin user. Now when I try to login I'm getting a Devise error. (ActionController::UnknownFormat (ActionController::UnknownFormat) I can't figure out what's happened. Anyone got ideas:
Started POST "/users/sign_in" for ::1 at 2020-12-19 21:22:41 -0600 Processing by Devise::SessionsController#create as JS Parameters: {"authenticity_token"=>"ANu+dbCjDRrFgSHYYXnjTr4vujtb8YVd4zgJLJzmlQY87emVT9TzM7NcJ+0SmHDOdG6S2kmWTcjSQEYjDzY3NA==", "user"=>{"email"=>"[FILTERED]", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["email", "[FILTERED]"], ["LIMIT", 1]] ↳ app/controllers/concerns/set_current_request_details.rb:15:in `set_request_details' Completed 401 Unauthorized in 117ms (ActiveRecord: 0.9ms | Allocations: 3988) Started GET "/users/sign_in.js" for ::1 at 2020-12-19 21:22:41 -0600 Processing by Devise::SessionsController#new as JS Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms | Allocations: 1231) ActionController::UnknownFormat (ActionController::UnknownFormat):
Maybe another way to ask this: What are the steps to reset/reinitialize a Jumpstart app? I'm obviously missing something because I reverted to an older git commit and tried with the same result. I guess I may have to start from scratch and see if that fixes it (perhaps something is munged in my system).
Notifications
You’re not receiving notifications from this thread.