Closed pinkfloydsito closed 3 years ago
I was having a similar problem this morning.
Eventually getting into the console and ensuring that the call in perf.rake
returned a valid user solved the problem.
#perf.rake
DerailedBenchmarks.auth.user = -> { Refinery::Authentication::Devise::User.find_by_email('anita@joli.com.au')}
You were right Anita. thanks! I was providing the wrong class.
I am using rails 5.2 and ruby 2.7.2
I am trying to authenticate using the perf.rake but i have no luck doing it until now. When i uncomment the lines
Running the code below produces the following output:
Gemfile
Has anyone experienced the same trouble? What is the solution to this? Sorry if this is spam :'c