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.
Find your next Ruby on Rails Job.
Stimulus JS 2.0 just came out and it includes the awesome Values and CSS Classes APIs
Bulk operations like "delete all", "publish all", etc require a little bit of Javascript and a special controller for handling them.
Learn how to add Google Analytics' gtag.js to Webpacker with Turbolinks support
User mentions in group chat is a crucial feature, so this week we're taking a look at how to add @ mentions for our users in chat with regex and more.
It's important to see that there are unread messages in channels you're not actively viewing. We can use a very simple event in ActionCable to do this and bold channel names with unread messages.
Webpack bundles can be confusing as to what actually ships in production. Using the bundle analyzer plugin, we can visualize and see exactly what libraries and files are taking up what space.
Keeping track of a user's last read timestamp for each chat room is straightforward, especially when we use Stimulus.js to update it from the client side.
Using Vonage (previously known as OpenTok), we can add multiuser live video chat to Rails in just 20 minutes. It also supports broadcasting things like webinars, recording videos, and more.
Using the Intersection Observer API, we can refactor our infinite scroll example to be much more efficient and simpler to use
Learn how to use Cable Ready to perform realtime browser updates using actions generated in Rails controllers, models, and background jobs. Cable Ready is the magic behind Stimulus Reflex.
An updated version of our Group Chat series using Webpacker, ActionCable, Stimulus.js, and modern Javascript to build a very clean version of realtime group chat in Rails
Scroll events in Javascript can happen quickly. We want to make sure we don't request the same page multiple times which we can solve easily by introducing a little throttling.
Adding Infinite Scroll to your Rails app is easy with Stimulus.js, Turbolinks, and Pagy
Drag and drop sortable lists in Rails aren't too hard using Sortablejs and Stimulus to make wire them up to our backend with acts_as_list
Stimulus Reflex is one of the coolest new libraries out there. It can update the browser in realtime and allow you to build reactive applications without any Javascript. It's awesome.
Webpacker provides some nice tools for loading Javascript in several different ways. We're looking at require.context to see how to load an entire directory's set of files easily.
Learn how to implement Google Maps and the Google Places Autocomplete API in Rails compatible with Turbolinks using StimulusJS
Learn how to implement Uppy as a frontend for uploading files via drag and drop, paste, URL, Google Drive, Dropbox, webcam and more to Active Storage in Rails
Rails's webpacker gem makes it super easy to load both Bootstrap's CSS and JS into your Rails app using webpack
Join 69,840+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.
Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8
© 2023 GoRails, LLC. All rights reserved.