Build a Blog with Rails Part 10: Authentication with Devise

  Рет қаралды 11,299

GoRails

GoRails

Күн бұрын

Пікірлер: 20
@EnjoytheMents
@EnjoytheMents Жыл бұрын
chris pls increase the font size next time it is really hard to read and follow
@jeffersonaraujo5444
@jeffersonaraujo5444 3 ай бұрын
Your videos are really helpful Chris! Thank you
@julioarruda8182
@julioarruda8182 Жыл бұрын
As always, thank you very much.
@LibertarianSeeker
@LibertarianSeeker Жыл бұрын
Thanks a lot! Great content!
@vandrehesmeraldo9961
@vandrehesmeraldo9961 5 ай бұрын
Hello coach, thank you very much for your dedication, can I ask you a question? Wouldn't it be safer to use JWT instead of using cookies?
@GorailsTV
@GorailsTV 5 ай бұрын
Cookies are safer than JWT.
@DCSmokeFree
@DCSmokeFree 8 ай бұрын
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.
@JorgeGomez-g1f
@JorgeGomez-g1f Жыл бұрын
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 Жыл бұрын
Keep watching. 😜
@GabrielMartinez-ez9ue
@GabrielMartinez-ez9ue 11 ай бұрын
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 11 ай бұрын
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 Жыл бұрын
why do you think you need alternatives to Devise, what devise couldn't provide?
@Abhijeet-x4k
@Abhijeet-x4k Жыл бұрын
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 Жыл бұрын
Devise gem handles that for you. without devise you can't check if user signedin or not.
@wlaidkabou
@wlaidkabou Жыл бұрын
that's one of the devise gem power, for sure devise Is the best gem ever
@kev_G
@kev_G Жыл бұрын
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 Жыл бұрын
Because it is a DELETE request and browsers use forms for that. Links only make GET requests.
@kev_G
@kev_G Жыл бұрын
@@GorailsTV ahh ok that makes sense. Thanks!!
@kelele7173
@kelele7173 Жыл бұрын
masterpiece
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 55 МЛН
Gemini 2 Multimodal and Spatial Awareness in Python
32:43
James Briggs
Рет қаралды 655
Simple Rails authentication
17:23
Rapid Ruby
Рет қаралды 1,4 М.
How to use Solid Queue in Ruby on Rails
13:24
GoRails
Рет қаралды 7 М.
Learn Active Record associations with Starwars
24:20
CJ Avilla (cjav_dev)
Рет қаралды 7 М.
Rails 7.1 Authentication From Scratch
44:31
GoRails
Рет қаралды 21 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН