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.
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.
The next step is deploying our web scraper to production and setting up our cron jobs. We'll deploy our Rails app to a server using Hatchbox.io and configure cron jobs to run our scraping tasks on an interval.
Generators in Rails are in namespaces which allows us to create local generators that use the same name as others. We can use this technique to enhance the Rails scaffold generator by calling it with `hook_for`
To start off our automated transcription series, we'll start by creating our database model for
Next up, we need to sync videos from our hosting provider's API so we'll build an API client from scratch using net/http in Ruby
Next, we need to sync videos using our API client which we'll do with a higher level abstraction to integrate with the API.
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.
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.
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.
Last but not least, let's update the Video scaffold UI to be more polished so we can trigger syncs and
Ever wondered how Rails controllers get their functionality? Let's see how we can add translation support to Rails API controllers by looking at the Rails source
In this episode, we will learn about handling one-time payments with the Pay gem and Stripe embedded checkout. This is a great approach for non-recurring payments and can be implemented very quickly.
In this video, you'll learn about a feature of IRB, which is the ability to change context into an object.
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.
MQTT is a message protocol for Internet of Things devices. It's very similar to pubsub where you can broadcast and subscribe to different topics. Learn how to send messages to an MQTT broker in this tutorial.
Learn how to build custom Turbo Stream Actions to build things like browser notifications, console logging, or anything you want. Plus, we'll look at how Turbo implements this in their GitHub codebase.
Learn how to use Arrays in your Ruby code
Learn how to use Hashes in your Ruby code
ActionText builds on top of the ActiveStorage file uploads feature in Rails, so we're going to configure Amazon S3 storage so we can upload files in production
Next up, we need to be able to edit and update the passwords in our password manager application
Since we're planning to share passwords with multiple users, we need to use a join table to associate the password with users. We'll explore how to set this up and create records using the join table and has_many through association
Join 82,584+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.