Build a Blog with Rails Part 10: Authentication with Devise

  Рет қаралды 8,087

GoRails

GoRails

Жыл бұрын

► Check out gorails.com for Pro episodes and more!
► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: jumpstartrails.com
► Ruby on Rails hosting with Hatchbox.io: hatchbox.io
► Learn how to add Stripe Payments (with SCA support!) with Ruby on Rails: courses.gorails.com/payments-...

Пікірлер: 17
@EnjoytheMents
@EnjoytheMents Жыл бұрын
chris pls increase the font size next time it is really hard to read and follow
@julioarruda8182
@julioarruda8182 10 ай бұрын
As always, thank you very much.
@LibertarianSeeker
@LibertarianSeeker 8 ай бұрын
Thanks a lot! Great content!
@DCSmokeFree
@DCSmokeFree 2 ай бұрын
I am getting this error, "An error has occurred, this and all later migrations canceled: SQLite3::SQLException: no such table: users". Not sure what to do? I think i followed an old video of yours in rails 6 where we built the authentication manually. But now I had the users table, so I couldn't migrate the devise database. So then I tried to delete the other data base: rails db:drop. and now I get the above error and can't find any stack overflow guides to help.
@kelele7173
@kelele7173 Жыл бұрын
masterpiece
@user-xu2dm7pg2z
@user-xu2dm7pg2z 7 ай бұрын
I have a question, does there need to be a relationship from the blog to the user for a user to edit their post, or can the ID created by Devise be added to the blog table to filter it? If there isn't a rule that ensures only I can edit my posts, anyone else could potentially edit them
@GorailsTV
@GorailsTV 7 ай бұрын
Keep watching. 😜
@GabrielMartinez-ez9ue
@GabrielMartinez-ez9ue 5 ай бұрын
Would you recommend having a look first at the rails 6 course that you have? As I see you implemented manually your built auth not using devise
@GorailsTV
@GorailsTV 5 ай бұрын
We recommend Devise for actual use and building auth from scratch at least once to understand how Devise works.
@DanielJacksonNor
@DanielJacksonNor Жыл бұрын
Fantastic content, as always. Do you have videos for alternatives to Devise?
@wlaidkabou
@wlaidkabou 8 ай бұрын
why do you think you need alternatives to Devise, what devise couldn't provide?
@user-yy5ru6xh3y
@user-yy5ru6xh3y 8 ай бұрын
I just don't understand how we are able to access user_signed_in? method so easily ? There must be something calling that method right ?
@wlaidkabou
@wlaidkabou 8 ай бұрын
Devise gem handles that for you. without devise you can't check if user signedin or not.
@wlaidkabou
@wlaidkabou 8 ай бұрын
that's one of the devise gem power, for sure devise Is the best gem ever
@kev_G
@kev_G 7 ай бұрын
Why does the logout button need to be a button? I tried making it a link but got an error [No route matches [GET] "/users/sign_out"]
@GorailsTV
@GorailsTV 7 ай бұрын
Because it is a DELETE request and browsers use forms for that. Links only make GET requests.
@kev_G
@kev_G 7 ай бұрын
@@GorailsTV ahh ok that makes sense. Thanks!!
Authenticating Rails Application Using Devise Gem
23:15
APPSIMPACT Academy
Рет қаралды 5 М.
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 1,2 МЛН
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 76 МЛН
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 17 МЛН
Rails 7.1 Authentication From Scratch
44:31
GoRails
Рет қаралды 16 М.
React Native Login with JWT Auth Context
24:59
Simon Grimm
Рет қаралды 48 М.
Pundit Gem For Authorization In Ruby On Rails 7
21:27
Deanin
Рет қаралды 7 М.
Let's build an Airbnb clone with Ruby on Rails - Part 1
1:01:19
How to use Solid Queue in Ruby on Rails
13:24
GoRails
Рет қаралды 5 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 22 МЛН
КОПИМ НА АЙФОН В ТГК АРСЕНИЙ СЭДГАПП🛒
0:59
#miniphone
0:16
Miniphone
Рет қаралды 3 МЛН