Closed hasandiwan closed 11 months ago
Hello, hey you seem to be using rails 6, you should use version 2... bundle add authentication-zero --version "~> 2"
rails -v
Rails 7.0.8
Next possibility?
The rails in your gemfile is version 7?
$ grep '^ rails' Gemfile.lock
rails (~> 7.0.8)
Oh, it should be rails 7.1
Thank you very much!
I'm trying to use your gem in a new rails application for authentication -- the "hype" won me over -- and I'm receiving this error when creating a user, via the web:
I then looked through the rails issues, coming upon this, which has been merged.
I found a definition of this method in edge rails:
So, I copied this definition into my class and the error changed to
... and I'm well out of my depth in both rails and my time today. So, I've posted here knowing I'm doing something stupid. So, sure, rip me a new one, if you wish.
However, it's ok, as it will save me deep dives into murkier corners of the framework where even Gollum doesn't dare tread.