GoRails
GoRails
  • 638
  • 3 528 140
Refactoring Local Variables to Methods In Ruby
► Check out gorails.com?via=yt 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-with-rails-master-class
zhlédnutí: 806

Video

One Time Payments With Pay And Stripe
zhlédnutí 834Před 21 dnem
► Check out gorails.com?via=yt 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-with-rails-master-class In this episode, we will learn abou...
Switching Contexts to Objects with IRB
zhlédnutí 784Před měsícem
► Check out gorails.com?via=yt 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-with-rails-master-class In this quick video, you'll learn a...
ActiveRecord Aggregations Composed Of | Preview
zhlédnutí 558Před měsícem
► Check out gorails.com?via=yt 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-with-rails-master-class
Enhancing Rails Generators with `hook_for` | Preview
zhlédnutí 447Před měsícem
► Check out gorails.com?via=yt 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-with-rails-master-class
ActionController Modules & Rails Source Diving - Adding Translations To Rails API Controllers
zhlédnutí 969Před 2 měsíci
► Check out gorails.com?via=yt 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-with-rails-master-class
Extending Rails Associations with Modules | Preview
zhlédnutí 773Před 2 měsíci
► 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-with-rails-master-class
Using Deprecation Warnings in Rails | Preview
zhlédnutí 257Před 2 měsíci
► 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-with-rails-master-class In this lesson, we will learn how to commu...
Components with Phlex in Rails
zhlédnutí 2KPřed 3 měsíci
► 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-with-rails-master-class
How to use Mission Control Jobs in Rails
zhlédnutí 2,5KPřed 3 měsíci
► 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-with-rails-master-class
Dynamic Single Table Inheritance Models with ActiveRecord in Ruby on Rails | Preview
zhlédnutí 507Před 3 měsíci
► 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-with-rails-master-class
Single Table Inheritance Basics with ActiveRecord in Ruby on Rails
zhlédnutí 2,2KPřed 3 měsíci
► 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-with-rails-master-class
Send Notifications in Rails with Noticed v2
zhlédnutí 4,3KPřed 3 měsíci
► 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-with-rails-master-class
What's New In Ruby 3.3
zhlédnutí 8KPřed 4 měsíci
► 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-with-rails-master-class
Syncing Repositories with Ruby Scripts - Part 2
zhlédnutí 447Před 4 měsíci
► 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-with-rails-master-class In this lesson, we will pick up where we l...
How to use Solid Queue in Ruby on Rails
zhlédnutí 5KPřed 4 měsíci
How to use Solid Queue in Ruby on Rails
Syncing Repositories with Ruby Scripts - Part 1
zhlédnutí 838Před 4 měsíci
Syncing Repositories with Ruby Scripts - Part 1
Linux Signal Trapping in Ruby | Preview
zhlédnutí 427Před 4 měsíci
Linux Signal Trapping in Ruby | Preview
Improving form_with Errors in Rails | Preview
zhlédnutí 532Před 5 měsíci
Improving form_with Errors in Rails | Preview
Contributing To Open Source: Devise Config Lambda Support | Preview
zhlédnutí 308Před 5 měsíci
Contributing To Open Source: Devise Config Lambda Support | Preview
Template locals in Rails 7.1
zhlédnutí 1,7KPřed 5 měsíci
Template locals in Rails 7.1
Custom Attribute Serializers with ActiveRecord in Rails | Preview
zhlédnutí 400Před 5 měsíci
Custom Attribute Serializers with ActiveRecord in Rails | Preview
ActiveStorage Named Variants, Represenations, and Preprocessing in Rails | Preview
zhlédnutí 389Před 6 měsíci
ActiveStorage Named Variants, Represenations, and Preprocessing in Rails | Preview
HTML Learning Path - Form Parameter Naming Conventions in Rails
zhlédnutí 586Před 6 měsíci
HTML Learning Path - Form Parameter Naming Conventions in Rails
HTML Learning Path - Additional Input Types
zhlédnutí 337Před 6 měsíci
HTML Learning Path - Additional Input Types
HTML Learning Path - Button Element
zhlédnutí 302Před 6 měsíci
HTML Learning Path - Button Element
HTML Learning Path - Intro to Forms
zhlédnutí 385Před 6 měsíci
HTML Learning Path - Intro to Forms
HTML Learning Path - Additional Semantic Elements
zhlédnutí 232Před 6 měsíci
HTML Learning Path - Additional Semantic Elements
HTML Learning Path - Image Element
zhlédnutí 218Před 6 měsíci
HTML Learning Path - Image Element
HTML Learning Path - List and Nav Elements
zhlédnutí 233Před 6 měsíci
HTML Learning Path - List and Nav Elements

Komentáře

  • @BenjaminMahmood
    @BenjaminMahmood Před 4 dny

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

  • @CuratedTikToks
    @CuratedTikToks Před 6 dny

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

  • @StephenGambill
    @StephenGambill Před 9 dny

    Fantastic! Super helpful.

  • @StewHeckenberg
    @StewHeckenberg Před 11 dny

    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
    @relaxingbeatz4468 Před 12 dny

    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
    @raidertm1653 Před 16 dny

    U wesome! thanks from Brazil

  • @hardestgammaray
    @hardestgammaray Před 20 dny

    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
      @GorailsTV Před 20 dny

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

  • @pablomza
    @pablomza Před 21 dnem

    line 4: what is that required_options does?

  • @idreesibrahim5642
    @idreesibrahim5642 Před 21 dnem

    Why they explaining too fast?😢

  • @RiddlerSA
    @RiddlerSA Před 22 dny

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

  • @user-vp4gu1qx6q
    @user-vp4gu1qx6q Před 22 dny

    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 Před 22 dny

    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 Před 22 dny

      I usually forget it exists

  • @StupidCodeFactory
    @StupidCodeFactory Před 22 dny

    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 Před 24 dny

    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!

  • @gavranhas
    @gavranhas Před 28 dny

    That was great! Thank you for such useful explanation.

  • @MARKETER-ph8od
    @MARKETER-ph8od Před 29 dny

    cool video)

  • @MARKETER-ph8od
    @MARKETER-ph8od Před 29 dny

    cool video)

  • @eduardobenavidez7525
    @eduardobenavidez7525 Před měsícem

    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 Před měsícem

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

    • @eduardobenavidez7525
      @eduardobenavidez7525 Před 29 dny

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

  • @afinger
    @afinger Před měsícem

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

  • @hardestgammaray
    @hardestgammaray Před měsícem

    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 Před měsícem

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

  • @StephanSingh2495
    @StephanSingh2495 Před měsícem

    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 Před měsícem

      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 Před měsícem

      @@GorailsTVThank you will go through it first!

  • @StephanSingh2495
    @StephanSingh2495 Před měsícem

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

    • @GorailsTV
      @GorailsTV Před měsícem

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

    • @StephanSingh2495
      @StephanSingh2495 Před měsícem

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

  • @gerryhoekema2561
    @gerryhoekema2561 Před měsícem

    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 Před měsícem

      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 Před měsícem

    very helpful, thanks.

  • @relaxingbeatz4468
    @relaxingbeatz4468 Před měsícem

    Thanks. very useful series.

  • @developerfoe
    @developerfoe Před měsícem

    wow … nice … debugging on rails

  • @phillipspc
    @phillipspc Před měsícem

    Yooo I had no idea this was possible! 🤯

  • @DCSmokeFree
    @DCSmokeFree Před měsícem

    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 Před měsícem

    Eager to use that!

  • @hjbarraza
    @hjbarraza Před měsícem

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

  • @excid3
    @excid3 Před měsícem

    This is a fantastic tip!

  • @Frexuz
    @Frexuz Před měsícem

    Cool!

  • @DCSmokeFree
    @DCSmokeFree Před měsícem

    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 Před měsícem

    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 Před měsícem

      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 Před měsícem

    Is this method still recommended in 2024?

  • @ashishgaur1398
    @ashishgaur1398 Před měsícem

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

  • @jovannibasilisco6414
    @jovannibasilisco6414 Před měsícem

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

  • @PrajwalGautam-om7sg
    @PrajwalGautam-om7sg Před měsícem

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

  • @gavranhas
    @gavranhas Před měsícem

    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 :)

  • @Nanducho
    @Nanducho Před měsícem

    Excelent work, very useful for me. I am using ruby 3.2.2 and rails. Only I need two modifications: 1. 3.19 Change the original script Original <script src="maps.googleapis.com/maps/api/js?key=<%= Rails.application.credentials['key_google_maps'] %>&libraries=places&callback=initMap" async defer data-turbolinks-eval="false"></script> New <%= javascript_include_tag "maps.googleapis.com/maps/api/js?key=#{Rails.application.credentials['key_google_maps']}&libraries=places&callback=initMap", async: true, defer:true, "data-turbolinks-eval":false %> 2. 7.12. New code from window.initMap Original window.initMap = function (...args) { const event = document.createEvent("Events") event.initEvent("google-maps-callback", true, true) event.args = args window.dispatchEvent(event) } New window.dispatchMapsEvent = function (...args) { const event = new CustomEvent("google-maps-callback", { detail: args }); window.dispatchEvent(event); } Thanks @GoRails

  • @MarkoPasic
    @MarkoPasic Před měsícem

    Hi, Chris, I am trying to add custom domain, but I could not find any documentation for that. Can you please tell me what I need to do after i add custom domain in account settings? What should I add at my domain DNS settings?

    • @GorailsTV
      @GorailsTV Před měsícem

      Point the custom domain to your domain with a CNAME. 👍

    • @MarkoPasic
      @MarkoPasic Před měsícem

      ​@@GorailsTV One more question. Do we have to install SSL somehow? I have added CNAME, but for some reason still not working :(

  • @nitrosnowbs
    @nitrosnowbs Před měsícem

    works like a charm!

  • @marcymercy-sx6oc
    @marcymercy-sx6oc Před měsícem

    does prettier for tailwind work in rails just by adding .prettierrc.json / npm install / and { "plugins": ["prettier-plugin-tailwindcss"] } ??

  • @user-ck6rn5jg8k
    @user-ck6rn5jg8k Před měsícem

    For anyone struggling with the delete button confirmation. If you change it to: <%= button_to "Delete", blog_post_path, method: :delete, class: "delete-button", onclick: "return confirm('Are you sure?');" %> This worked for me.

  • @thestardavid
    @thestardavid Před měsícem

    You guys are awesome explaining very well which makes me to watch all your videos. But the fact is, nearly 2 decade ago I was jsp guru, and we abanddoned because of people hate to stuff server side code inside client side code. Can someone please convience me why it is still needed?

    • @GorailsTV
      @GorailsTV Před měsícem

      That's why rails does as much work server side as possible.

  • @MrChest001
    @MrChest001 Před měsícem

    nice, thanks mate