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.
If you've ever had Rails fail to decrypt credentials, it might be because of a rogue newline. We ran into this and decided to submit a PR to fix this in Rails.
Rails 7.2 introduces the enqueue_after_transaction_commit config but this wouldn't take effect when upgrading Rails apps, so we fixed it by changing the load order.
Before actions typically just call a method without arguments, but what if we need something more? Watch this lesson to find out!
In this lesson, we'll start to build a catalog of time-saving coding commands to use in IRB. Today's methods will help us view available methods in the current context and easily access their source code, all from the command line.
Ruby's __FILE__ and __dir__ work slightly differently with symlinks that you might not realize. Let's check see how it works.
Customizing Devise feels daunting, but it's surprisingly easy. In this lesson, we'll customize Devise to track referrals using the Refer gem.
In this lesson, we will learn how to leverage built in IRB and Debug commands from Ruby to trace what happens when you run rails console from start to finish.
In this lesson, we will learn about the configuration of the new Rails console prompt, how the feature was built, and how we can apply our new knowledge to customize our own IRB console prompts.
The Revise Auth gem that I wrote didn't have a consistent redirect mechanism for after sign up or sign in, so this lesson we're going to refactor and write tests to improve this feature.
Rails 7.2 introduces the allow modern browsers feature but the app:update command wasn't creating the necessary files. In this lesson, we'll walk through writing a pull request to fix this in Rails!
In this lesson, we will learn how to not only change into a new context in IRB but then how to get back to the previous context by leveraging our workspaces stack in IRB.
In this lesson, we will look at how to clean up code that iterates over a collection twice to separate the elements out to only doing so once while achieving the same result by leveraging the partition method from Ruby's Enumerable module.
Did you know GitHub Actions supports inputs? You can accept inputs from the user or other actions to be used in your action.
In this lesson, we'll take a look at how a small change to fix some rigid code in the Receipts gem can open up more possibilities.
You might not realize your code has concepts that need to be extracted. Sometimes it's as simple as a small decorator around a Ruby class as we'll see in this lesson.
Last but not least, let's update the Video scaffold UI to be more polished so we can trigger syncs and
In this lesson, we'll create a job to download a video, extract the audio with ffmpeg, transcribe the video with Whisper, and upload the captions to our hosting provider.
Whisper.cpp is an open source C/C++ port of OpenAI Whisper that we can use with Ruby for transcribing our videos. We'll also look at how ActiveStorage runs executables like ffmpeg to see how it works behind the scenes just like with what we're building.
Now that we can sync videos to our local database, we need to run this on a regular schedule. We'll use SolidQueue's recurring tasks feature to create cron jobs that run periodically for syncing.
Next, we need to sync videos using our API client which we'll do with a higher level abstraction to integrate with the API.
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.