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.
Learn how to build fast, modern web apps with HTML over the wire.
Setup your computer with Ruby on Rails and deploy to a production server.
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.
Showing users that they have unread messages is nice but it would be nicer if we scrolled them to the start of those unread messages when they visit a conversation which is what we will implement in this lesson.
In this lesson, we will look at an extremely simple way to implement keeping track of and displaying the online/logged in status of users in our chat application.
Enumerable provides a suite of sorting, filtering, iterating functionality to any collection class in Ruby. It's easy to implement and use, so let's see how to use it.
Learn how to write your own test helpers to build assertions. In this lesson, we're adding some test helpers to the turbo-rails gem to assert that turbo-frame tags in the response.
Managing meta tags can be a pain, but we can use Rails features like Current Attributes, ActiveModel and render_in to create an easy meta tag manager from scratch.
The Rails Authentication generator is getting new test helpers. We'll take a look at how to use them with integration tests and how to extend them to work with system tests too.
Using nested layouts, we can reuse an entire layout and include some additional HTML like a sidebar without using partials.
To provide clean integrations with Rails plugins, we can use lazy load hooks to add callbacks for when classes are loaded.
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 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
Normalizing data has always been a pain in Rails, but not anymore! Instead of callbacks or overriding setters, Rails 7.1 introduces "normalizes" to make normalizing data easy.
Last but not least, let's update the Video scaffold UI to be more polished so we can trigger syncs and
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.
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.
First things first, we need a Link model to store our
Analytics for links is a useful feature so lets record Views for links and show them in a graph
Join 91,129+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.