GoRails

GoRails

GoRails screencasts are here to fill in the gaps, explain the confusing pieces, and give you an understanding you can't find elsewhere. There is a lot of "magic" that happens in Ruby on Rails and it's hard to wrap your head around so many different gems and concepts. You'll get to see my actual development environment, how I think about and design code, and learn how to become a confident developer.

gorails.com

What's New In Ruby 3.3

What's New In Ruby 3.3

Пікірлер

  • @hardiksharma8097
    @hardiksharma80978 сағат бұрын

    I am getting an error undefined method `user=' for #<Current:0x00007fda5a083720 @attributes={}>

  • @hardiksharma8097
    @hardiksharma809716 сағат бұрын

    If you are stuck at 0:02 it may be a turbo error use data: { turbo: false } like <%= form_with model: @user, url: sign_up_path, data: { turbo: false } do |form| %>

  • @GorailsTV
    @GorailsTV10 сағат бұрын

    You should fix the issue and learn Turbo instead of disabling it.

  • @thomasconnolly8201
    @thomasconnolly8201Күн бұрын

    I'm wondering it it would make any difference to save "body' as json rather than text. Or jsond? Thanks for this.

  • @seb-ssabes
    @seb-ssabes3 күн бұрын

    Thank you so much! This content is Gold!

  • @GorailsTV
    @GorailsTV2 күн бұрын

    Thanks!!

  • @YeBiz
    @YeBiz4 күн бұрын

    If you get “rails not installed on this system”, just restart your terminal

  • @deepfuchsia7204
    @deepfuchsia72045 күн бұрын

    hello frens I'm learning Rails and I heard about the gem called Devise, and the question is whether this autentication from scratch can replace Devise or I still should learn and use Devise? thanks

  • @GorailsTV
    @GorailsTV4 күн бұрын

    We recommend building it yourself to learn and then using devise for the automatic security updates

  • @deepfuchsia7204
    @deepfuchsia72044 күн бұрын

    @@GorailsTV thanks frend

  • @YeBiz
    @YeBiz7 күн бұрын

    Does this tutorial use the Twitter API?

  • @mengyan3214
    @mengyan32148 күн бұрын

    Wow, it blows my mind. Need some time to digest. Thank you Chris.

  • @BenjaminMahmood
    @BenjaminMahmood12 күн бұрын

    after hours of search finally found your video which told me about the bin/dev watcher, thank you! That solved my problem! 👍

  • @GorailsTV
    @GorailsTV12 күн бұрын

    Glad we could help!

  • @CuratedTikToks
    @CuratedTikToks15 күн бұрын

    When I click EDIT, the previously save image goes away. How can I prevent this from being removed?

  • @StephenGambill
    @StephenGambill17 күн бұрын

    Fantastic! Super helpful.

  • @StewHeckenberg
    @StewHeckenberg19 күн бұрын

    So good of Adam Driver to take time out of his busy filming schedule to show us how to use the Pay gem! Seriously though, thank you Collin for the nice tutorial. Lots of great hints and tips throughout such as how to do authentication from scratch.

  • @relaxingbeatz4468
    @relaxingbeatz446820 күн бұрын

    very useful tutorial thanks for making this. i have doubt how is your localhost:3000/password/edit => redirect you to "password#edit" but mine trying to access the "password#show", i need to manually adjust the routes to get 'password/edit', to: 'password#show' and for logout i had to manually do this delete '/sessions', to: 'sessions#destroy' what can i do?

  • @raidertm1653
    @raidertm165325 күн бұрын

    U wesome! thanks from Brazil

  • @hardestgammaray
    @hardestgammaray28 күн бұрын

    Hey Chris. Thank you for the course. It's just what was needed. You are doing a very great job. I am really thankful and wishing you all the best! Once again, thank you!

  • @GorailsTV
    @GorailsTV28 күн бұрын

    You're welcome and so glad to hear that!!

  • @pablomza
    @pablomza29 күн бұрын

    line 4: what is that required_options does?

  • @idreesibrahim5642
    @idreesibrahim5642Ай бұрын

    Why they explaining too fast?😢

  • @RiddlerSA
    @RiddlerSAАй бұрын

    Super useful video! 🔥 I just didn't include devise gem to my new project for the first time.

  • @user-vp4gu1qx6q
    @user-vp4gu1qx6qАй бұрын

    In the process of extracting the variable into a method, you made an endless method every time. I use endless methods in these cases as they are shorter and, to me, easier to read. I believe endless methods arrived in Ruby 3.0.

  • @andyjeffries
    @andyjeffriesАй бұрын

    You don't use the short Ruby method definition? `def stream = (evaluate_options(:stream) || recipient)` - is this just to maintain backwards compatibility in the gem with older Rails? Or don't like that syntax?

  • @GorailsTV
    @GorailsTVАй бұрын

    I usually forget it exists

  • @StupidCodeFactory
    @StupidCodeFactoryАй бұрын

    I do this all the time :D often memoizing if this calls something expensive to compute, that would have been great to mention this in this video

  • @klnmn3722
    @klnmn3722Ай бұрын

    Set this up with no issues, awesome tutorial. I actually smiled when you talked about how difficult it was because you made it seem so easy. Deeply appreciate all the help you put out in this series for free!

  • @GorailsTV
    @GorailsTVАй бұрын

    That makes my day!

  • @gavranhas
    @gavranhasАй бұрын

    That was great! Thank you for such useful explanation.

  • @MARKETER-ph8od
    @MARKETER-ph8odАй бұрын

    cool video)

  • @MARKETER-ph8od
    @MARKETER-ph8odАй бұрын

    cool video)

  • @eduardobenavidez7525
    @eduardobenavidez7525Ай бұрын

    Great video. Thank you Chris! What do you recommend for stateless authentication using Rails 7.1.x ? I'm looking for a JWT gem that works with the latest Rails

  • @GorailsTV
    @GorailsTVАй бұрын

    We did a pro episode on JWTs here gorails.com/episodes/jwt-authentication-from-scratch-with-rails

  • @eduardobenavidez7525
    @eduardobenavidez7525Ай бұрын

    @@GorailsTV Ok, I'll check it out. Thanks!

  • @afinger
    @afingerАй бұрын

    Cool, but how do I leave a current workspace back to main?

  • @hardestgammaray
    @hardestgammarayАй бұрын

    23:25 I get it xD Anyway thanks for great course Chris! (I believe it's the one and the best course on whole Internet)

  • @CuratedTikToks
    @CuratedTikToksАй бұрын

    At, 13:00, where is the logic for updating post.like_count?

  • @StephanSingh2495
    @StephanSingh2495Ай бұрын

    Hi!, I am about to start off with these tutorials. Is knowledge of Ruby as a programming language a pre-requisite? (I have done backend dev in springboot before). Thank you

  • @GorailsTV
    @GorailsTVАй бұрын

    A little bit is helpful but I started learning Rails without knowing Ruby. At some point you'll want to know more of it but not absolutely required since it's similar to other languages. That said, we have an intro to Ruby course for free here: gorails.com/series/ruby-for-beginners

  • @StephanSingh2495
    @StephanSingh2495Ай бұрын

    @@GorailsTVThank you will go through it first!

  • @StephanSingh2495
    @StephanSingh2495Ай бұрын

    Hi, I am about to start off with these tutorials. Is knowledge of Ruby as a programming language a pre-requisite?

  • @GorailsTV
    @GorailsTVАй бұрын

    No but it can be helpful. We've got a free series on Ruby too. gorails.com/series/ruby-for-beginners

  • @StephanSingh2495
    @StephanSingh2495Ай бұрын

    @@GorailsTV Thank you! Will go through these first.

  • @gerryhoekema2561
    @gerryhoekema2561Ай бұрын

    I am learning a lot from this tutorial, so thank you. I am getting stuck in chapter 13 with these two statements in blog_post.rb: scope :published, -> {where ("published_at <= ?", Time.current)} scope :scheduled, -> { where ("published_at > ?", Time.current)} and this is the error: /data/Projects/ruby/gorails/myblog/app/models/blog_post.rb:7: syntax error, unexpected ',', expecting ')' ...-> {where ("published_at <= ?", Time.current)} ... ^ /data/Projects/ruby/gorails/myblog/app/models/blog_post.rb:8: syntax error, unexpected ',', expecting ')' ...-> { where ("published_at > ?", Time.current)} ... ^ Versions: ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux] ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux] It is kind of hard to see the code, since it is quite small, so I may have made a copy mistake. Any thoughts? I would like to continue on with the tutorial. Thanks, Gerry

  • @GorailsTV
    @GorailsTVАй бұрын

    Looks like you've got a syntax error somewhere. Here's the source to compare with: github.com/gorails-screencasts/learning-path-blog/blob/main/app/models/blog_post.rb#L8-L11

  • @relaxingbeatz4468
    @relaxingbeatz4468Ай бұрын

    very helpful, thanks.

  • @relaxingbeatz4468
    @relaxingbeatz4468Ай бұрын

    Thanks. very useful series.

  • @developerfoe
    @developerfoeАй бұрын

    wow … nice … debugging on rails

  • @phillipspc
    @phillipspcАй бұрын

    Yooo I had no idea this was possible! 🤯

  • @DCSmokeFree
    @DCSmokeFreeАй бұрын

    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.

  • @RailsSessions
    @RailsSessionsАй бұрын

    Eager to use that!

  • @hjbarraza
    @hjbarrazaАй бұрын

    Holy F**K - Kylo Ren is teaching me Ruby ! How epic is this !?!?!

  • @GorailsTV
    @GorailsTVАй бұрын

    He's multitalented

  • @excid3
    @excid3Ай бұрын

    This is a fantastic tip!

  • @Frexuz
    @FrexuzАй бұрын

    Cool!

  • @DCSmokeFree
    @DCSmokeFreeАй бұрын

    I am a real dummy, but one thing that took me too long to figure out is that when you use the helper tags and change the url link (about to about-us) when you refresh the page you have to change the url link to about-us. Otherwise you get an error because that page doesn't exisit anymore.

  • @user-zo4jw9gm8j
    @user-zo4jw9gm8jАй бұрын

    Hey go rails! I have a question If I use action text for some blog post. Since these blog posts are not many can instead of uploading files in Amazon s3, I can store them in my app? Thanks!!

  • @GorailsTV
    @GorailsTVАй бұрын

    You can use the file store but your hosting service would need persistent disk storage in production. So a place like Heroku wouldn't work because they run everything in containers but a hosting service like Hatchbox.io that we run does support persistent disk storage.

  • @GabrielMartinez-ez9ue
    @GabrielMartinez-ez9ueАй бұрын

    Is this method still recommended in 2024?

  • @GorailsTV
    @GorailsTVАй бұрын

    Yep

  • @ashishgaur1398
    @ashishgaur1398Ай бұрын

    Hey Chris, thanks for the video. Would request you to please create videos on rspec and selenium. Thanks

  • @jovannibasilisco6414
    @jovannibasilisco6414Ай бұрын

    Now I'm inspired to learn rails. Thank you for sharing your knowledge.

  • @GorailsTV
    @GorailsTVАй бұрын

    It's well worth it!!

  • @PrajwalGautam-om7sg
    @PrajwalGautam-om7sgАй бұрын

    Anyone knows how to solve this problem "Unrecognized command "tailwindcss:install" (Rails::Command::UnrecognizedCommandError)"

  • @gavranhas
    @gavranhasАй бұрын

    That was exactly what I was looking for. Your explanation is clear, well-paced, and objective. Now I have the starting point to learn. Thank you very much! Long life to GoRails! (and, by the way, Hatchbox is a nice :)

  • @GorailsTV
    @GorailsTVАй бұрын

    💖💖💖