Devise Login With Username And Email + How To Create Prototype Usernames | Ruby On Rails 6 Tutorial

  Рет қаралды 7,659

Deanin

Deanin

Күн бұрын

Пікірлер
@noone-xs8om
@noone-xs8om 2 жыл бұрын
Excellent tutorial that works even two years later. Thank you, Deanin!
@DevBishwasBh
@DevBishwasBh 2 жыл бұрын
Your voice is super awesome bro. It's so sassy, smooth and manly.
@agustinpalmam2923
@agustinpalmam2923 Жыл бұрын
Great video friend !😃
@msharialjuhani1891
@msharialjuhani1891 3 жыл бұрын
thank you, dude. you helped me with my graduation project actually, all your tutorials are amazing :)
@crickey.
@crickey. 4 жыл бұрын
Great video, great explanation and great production value. Keep em coming brother
@Deanin
@Deanin 4 жыл бұрын
I've integrated the new KZbin timestamp system for this video, which will allow you to scrub the video for sections you'd like to see. Let me know what you think! Catching up on my to do list with this one haha. Thought I'd cover logging in with usernames today in case it's something someone needs! Hope this video helps!
@ahmadhassan3131
@ahmadhassan3131 2 жыл бұрын
Your are amazing!
@alejandroalcazar7346
@alejandroalcazar7346 4 жыл бұрын
Really thanks for this info! So helpfully.
@Deanin
@Deanin 4 жыл бұрын
Glad it helped! Always makes me happy to hear that!
@friendofcomputer
@friendofcomputer 4 жыл бұрын
Wow, amazing tutorial. You have helped me a lot. Thank you!😌
@Deanin
@Deanin 4 жыл бұрын
Glad it helped!
@nicobobb
@nicobobb 4 жыл бұрын
Excellent video! Do you use windows 10? Because when I wanted to install rails in windows it didn't work for me. Do you have a website where it explains the steps? If you make a video of it, it will be of great help to me.
@Deanin
@Deanin 4 жыл бұрын
Thank you! Yeah, I use Windows 10! Well, sort of. You can run a Microsoft supported subsystem for Linux on Windows now. I have a playlist that covers it which I'll link below. I also have a blog post on my website, my only blog post so far actually haha, which covers the WSL 2 setup as well, so I'll also link that if that helps. Blog post: deandehart.com/blog/wsl-2-setup-in-under-5-minutes-to-run-linux-on-windows-10/ Windows Subsystem For Linux And Ruby On Rails 6 Setup: kzbin.info/aero/PL3mtAHT_eReyLg4jBB8LqvJAPuAkDFJ_V
@baseddepartment1306
@baseddepartment1306 4 жыл бұрын
Nice one!
@Deanin
@Deanin 4 жыл бұрын
Thank you! I appreciate it, and hope it helped! 🙂
@dum_travis8034
@dum_travis8034 4 жыл бұрын
Rails newbie here. Great video again! Just wondering what the point is of using Devise for users. I've followed some other youtube guides on making a basic application with rails and in those we just created a user record the old fashioned way with scaffold. I'm guessing the reason to use something like Devise is because my current way is super insecure? Thanks
@Deanin
@Deanin 4 жыл бұрын
Yeah the security is going to be one of the main benefits. I think at this point it's become such a staple to use Devise that for most people they just drop it in, run the commands, and forget about it. There's other options of course. If you're looking for a very expansive admin functionality, I'd suggest checking out something like the Active Admin gem for example. The nice thing about Devise is that because it's so prevalent, you'll often find it in other projects and instantly know how most of the user functionality will work. A great example of this is using the Spree gem for creating an ecommerce store. They actually use Devise in their engine, so when I first looked into Spree, Devise was one of the safe places I decided to start with lol.
@dum_travis8034
@dum_travis8034 4 жыл бұрын
@@Deanin awesome. thanks for the help! was considering taking a DIY approach since I'm making a pretty barebones app, but I should probably just set this up and forget about it
@Deanin
@Deanin 4 жыл бұрын
Yeah, if you're doing it for the functionality then probably just throw Devise in. If you're doing it to learn though, creating your own DIY user accounts might not be a bad idea haha. Happy to help!
@dum_travis8034
@dum_travis8034 4 жыл бұрын
@@Deanin one last thing. is it relatively easy to add Devise into my existing project when I already have my User model generated? Or would it be easier to just start from scratch?
@Deanin
@Deanin 4 жыл бұрын
​@@dum_travis8034 It shouldn't be too hard to add Devise. If your user model already has, for example, an email + username + password, then you could run: rails g devise user which would create an add_devise_to_users migration. I just tried it with a user model that already had a username and password, and it seems to have worked alright? Inside of that migration, you might need to comment out the email part, but I'm not sure? But aside from that and maybe needing to change some forms around, it should work. If you do need to change the devise forms, you can run: rails g devise:views to generate the files inside of app/views/devise so that you could modify them.
@JayZalowitz
@JayZalowitz 3 жыл бұрын
can you link to the guide lol.
@countalucard1347
@countalucard1347 4 жыл бұрын
Hi, Can you share a tutorial using devise email confirmation via API?
@bradalza98
@bradalza98 4 жыл бұрын
Nice video, please increase the size of the code text, I wasn't able to see properly.
@xaogao
@xaogao 4 жыл бұрын
Do you know telegram messanger? Can you create telegram bot(or discord, etc) with functions like upload file, redirect command , create order in shop use ruby?
@w1d3r75
@w1d3r75 3 жыл бұрын
Have you ever had any problem using Rails on windows?
@Deanin
@Deanin 3 жыл бұрын
Yeah, and they seem to be getting worse lately. I usually advise that if people are going to develop on Windows they use the Windows subsystem for Linux, which is what I use in these videos.
@syaifulm9239
@syaifulm9239 4 жыл бұрын
can't see all your code. to small
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 52 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 66 МЛН
Pundit Gem For Authorization In Ruby On Rails 7
21:27
Deanin
Рет қаралды 8 М.
Setup A Ruby on Rails 7 API With React JS
15:11
Deanin
Рет қаралды 43 М.
BUILD A REAL ESTATE / PROPERTY APP - RUBY ON RAILS TUTORIAL
51:03
David Battersby
Рет қаралды 59 М.
Idempotency in Ruby on Rails
11:08
Deanin
Рет қаралды 1,6 М.
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 204 М.
Rails Admin Interfaces with ActiveAdmin
17:42
GoRails
Рет қаралды 63 М.
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 622 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 52 МЛН