I've integrated the new RUclips 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!
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.
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: ruclips.net/p/PL3mtAHT_eReyLg4jBB8LqvJAPuAkDFJ_V
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
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.
@@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
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!
@@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?
@@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.
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?
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.
Excellent tutorial that works even two years later. Thank you, Deanin!
Your voice is super awesome bro. It's so sassy, smooth and manly.
thank you, dude. you helped me with my graduation project
actually, all your tutorials are amazing :)
I've integrated the new RUclips 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!
Great video friend !😃
Great video, great explanation and great production value. Keep em coming brother
Wow, amazing tutorial. You have helped me a lot. Thank you!😌
Glad it helped!
Your are amazing!
Really thanks for this info! So helpfully.
Glad it helped! Always makes me happy to hear that!
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.
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: ruclips.net/p/PL3mtAHT_eReyLg4jBB8LqvJAPuAkDFJ_V
can you link to the guide lol.
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
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.
@@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
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!
@@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?
@@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.
Nice one!
Thank you! I appreciate it, and hope it helped! 🙂
Nice video, please increase the size of the code text, I wasn't able to see properly.
Hi, Can you share a tutorial using devise email confirmation via API?
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?
Have you ever had any problem using Rails on windows?
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.
can't see all your code. to small