- 638
- 3 528 140
GoRails
United States
Registrace 29. 04. 2015
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
gorails.com
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
► 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
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 - Additional Semantic Elements
zhlédnutí 232Před 6 měsíci
HTML Learning Path - Additional Semantic Elements
HTML Learning Path - List and Nav Elements
zhlédnutí 233Před 6 měsíci
HTML Learning Path - List and Nav Elements
after hours of search finally found your video which told me about the bin/dev watcher, thank you! That solved my problem! 👍
Glad we could help!
When I click EDIT, the previously save image goes away. How can I prevent this from being removed?
Fantastic! Super helpful.
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.
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?
U wesome! thanks from Brazil
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!
You're welcome and so glad to hear that!!
line 4: what is that required_options does?
Why they explaining too fast?😢
Super useful video! 🔥 I just didn't include devise gem to my new project for the first time.
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.
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?
I usually forget it exists
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
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!
That makes my day!
That was great! Thank you for such useful explanation.
cool video)
cool video)
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
We did a pro episode on JWTs here gorails.com/episodes/jwt-authentication-from-scratch-with-rails
@@GorailsTV Ok, I'll check it out. Thanks!
Cool, but how do I leave a current workspace back to main?
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)
At, 13:00, where is the logic for updating post.like_count?
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
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
@@GorailsTVThank you will go through it first!
Hi, I am about to start off with these tutorials. Is knowledge of Ruby as a programming language a pre-requisite?
No but it can be helpful. We've got a free series on Ruby too. gorails.com/series/ruby-for-beginners
@@GorailsTV Thank you! Will go through these first.
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
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
very helpful, thanks.
Thanks. very useful series.
wow … nice … debugging on rails
Yooo I had no idea this was possible! 🤯
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.
Eager to use that!
Holy F**K - Kylo Ren is teaching me Ruby ! How epic is this !?!?!
He's multitalented
This is a fantastic tip!
Cool!
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.
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!!
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.
Is this method still recommended in 2024?
Yep
Hey Chris, thanks for the video. Would request you to please create videos on rspec and selenium. Thanks
Now I'm inspired to learn rails. Thank you for sharing your knowledge.
It's well worth it!!
Anyone knows how to solve this problem "Unrecognized command "tailwindcss:install" (Rails::Command::UnrecognizedCommandError)"
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 :)
💖💖💖
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
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?
Point the custom domain to your domain with a CNAME. 👍
@@GorailsTV One more question. Do we have to install SSL somehow? I have added CNAME, but for some reason still not working :(
works like a charm!
does prettier for tailwind work in rails just by adding .prettierrc.json / npm install / and { "plugins": ["prettier-plugin-tailwindcss"] } ??
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.
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?
That's why rails does as much work server side as possible.
nice, thanks mate