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.
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.
Cross-origin Resource Sharing (CORS) allows your website to talk to other websites.
Today we're refactoring Andrew Mason's GitHub Action that runs Rubocop against your repository. We'll pull out some concepts, remove conditionals, and use several other techniques to clean up the code.
Sometimes you may need to wrap and reraise an exception. Ruby 2.1+ makes this easy by letting us raise a new error, pass in the old one, and automatically assigns the exceptions "cause" which is the original exception.
Custom ActiveRecord validations are easy to make and they're implemented exactly the same way as the built-in Rails validations. It's super handy to be able to add nice, clean validations that you can repeat throughout your apps.
Learn how to inspect gems and add mark as read functionality to Mailboxer
Tracking unread messages in chat so that we can provide a nice user experience for our users
Transcode videos in the background using Shrine
Learn how to handle inbound emails in your Rails application and use them to create comments in your app
Learn how to authenticate with an API using OAuth and Doorkeeper
WebMock is a fantastic way to stub out and mock your HTTP requests. It will actually throw an exception in your test suite when an HTTP request is made so that you know when you're hitting an external API that you haven't stubbed out correctly.
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
In this episode, we will look at how to refactor an existing dynamic nested attributes form that uses Stimulus to instead leverage the ability to now make GET requests with Turbo.
See how to add exceptions to recurring events with the ice_cube gem
Learn how to add support for Accelerated Mobile Pages (AMP) from Google to Ruby on Rails in this tutorial
Sometimes you might want to keep track of all classes a module was included in. We can do that with a couple nifty tricks to make this work with both regular Ruby modules and Rails concerns.
Ever wondered how Puma, Unicorn, or other Ruby HTTP servers work? We'll build one from scratch with pure Ruby so you can see exactly how it works.
Learn how to create conversations with 3+ users using the mailboxer gem
This episode we build an undo button to stop sending notifications out just like you can hit "Undo" inside of GMail
Learn how to build a React Native application to connect to your Rails API using OAuth for authentication
Adding pagination to our nested comment threads is easier than you might think, plus we'll take a look at a couple different approaches we can use
Join 78,890+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our
© 2023 GoRails, LLC. All rights reserved.