Yaroslav, thanks for another great video on authentication in Ruby on Rails. Your tutorials are incredibly helpful and save us a lot of valuable time. Looking forward to more! Слава Україні!
Any hints for using this under Rails 8 Beta 1? As an experiment, I tried installing the gem, but "rails generate authentication" command needed to generate the authentication-zero framework is now the exact command used by Rails 8 to generate its native authentication framework. So far, the only thing I can think to do it generate a dummy 7.2 app, install the gem there, and copy the generated files over to a Rail 8 app. 🤷
Hey, what's up? That's weird. I worried about that, so I tested it with Rails 8. The original rails command should be overridden by the authentication-zero one. Since the generated files are similar, maybe have you make a mistake!?
@@lazaronixon2192 Wow, I must have made a mistake, because I just tried it again, and this time it worked like a charm: rails new authz0-test-tailwind -c=tailwind --main --version 8.0.0.rc1 cd authz0-test-tailwind/ bundle add authentication-zero rails generate authentication Thanks!
Tbh as a noob I was happy to just have devise and not worry/care about authentication. Only years later I had the time to dive into how it actually works
This gem is pretty cool!!
Yaroslav, thanks for another great video on authentication in Ruby on Rails. Your tutorials are incredibly helpful and save us a lot of valuable time. Looking forward to more!
Слава Україні!
Thanks Alexander! Nice to see you here bro
ohh i agree. I have been using this gem amazing.
What additional options/plugins are you using with the gem? --invitable?
Any hints for using this under Rails 8 Beta 1? As an experiment, I tried installing the gem, but "rails generate authentication" command needed to generate the authentication-zero framework is now the exact command used by Rails 8 to generate its native authentication framework. So far, the only thing I can think to do it generate a dummy 7.2 app, install the gem there, and copy the generated files over to a Rail 8 app. 🤷
Hey, what's up? That's weird. I worried about that, so I tested it with Rails 8. The original rails command should be overridden by the authentication-zero one. Since the generated files are similar, maybe have you make a mistake!?
@@lazaronixon2192 Wow, I must have made a mistake, because I just tried it again, and this time it worked like a charm:
rails new authz0-test-tailwind -c=tailwind --main --version 8.0.0.rc1
cd authz0-test-tailwind/
bundle add authentication-zero
rails generate authentication
Thanks!
The opacity of Devise was always the reason as a n00b not to use Devise. This looks much better for me, as I can see/reference all the code.
Tbh as a noob I was happy to just have devise and not worry/care about authentication. Only years later I had the time to dive into how it actually works