How to build a complete, real-world application from scratch with Ruby on Rails step by step.
A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.
Accept subscription and one-time payments with Stripe in your Rails apps
Expert advice on keeping Rails apps organized and fast.
Cheap, easy hosting for Ruby and Rails apps.
Launch your product business way faster with our SaaS template.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
A few of the Open Source projects we do at GoRails.
Build a Ruby on Rails app in 48 hours with us.
Help Junior developers get hired by sharing small projects to build their resume with paid work.
Find your next Ruby on Rails Job.
Docker allows you to build a self-contained image with your application code and all it's dependencies. We'll setup our Dockerfile for the Rails app and Docker Compose yml for any other services we might need like Postgres or Redis.
Hotwire & Turbo.js are designed to make realtime updates to your page. So how do you notify the user with flash messages or toasts? That's what we're covering in this episode.
The browser has a built-in Geolocation API that you can use to get the user's location (with permission) in Stimulus and use it with Rails
Want to login your user across all subdomains in your Rails app? Here's how.
Creating and testing a Rails Engine can seem daunting. In this video, we'll walk through how to create (and test!) a Rails engine from scratch
Custom targets allow us to render nested comments, update forms, and append new comments with Turbo stream events using Hotwire
Hotwire lets us broadcast changes so we can use the same approach for nested comments, but in realtime!
Updating slugs
Fragment caches can be hard when users have different permissions and are allowed to do different things. We can solve this problem with a little Javascript and greatly improve the usefulness of our fragment caches.
Modal forms are common, but how do we do them with Hotwire to render validation errors and redirect on success?
Upgrading from Turbolinks to Hotwire is actually pretty simple now that Turbo handles error responses
Hotwire's Turbo library intercepts forms automatically so Devise needs a few tweaks to work with it. Learn how to do that in this screencast!
Hotwire is the NEW MAGIC that DHH has been teasing about for so long. This episode we'll build the famous Twitter clone using Hotwire to see how it compares to other solutions out there.
Rails 6.1 introduces a new feature called "disallowed_warnings" which causes exceptions to be thrown anytime deprecated code is run. This makes it really easy to track down deprecations in your code and fix them quickly.
Stimulus JS 2.0 just came out and it includes the awesome Values and CSS Classes APIs
Testing a gem or your Rails app against multiple Ruby and Rails versions is super useful, but we also take it a step further and test our gem against several different databases too
Continuous Deployment is the automation of deploying any code that gets merged into your main or release branch. We can easily set up GitHub Actions to run CI and CD for us to automate everything.
ActsAsTenant needed some maintenance so we're going to walk through the steps of refactoring the gem and Rspec test suite
Ever wanted to run your Rails app against multiple versions of Rails? You can with "dual booting" which helps you keep your stable Rails version but also test against the latest.
Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.