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 addressable gem adds some nice features over Ruby's built-in URI class, but it doesn't have any helpers for extracting subdomains. In this lesson, we'll add some methods to Addressable to make accessing subdomains easier.
URI in Ruby is powerful, but not complete. We can use the PublicSuffix and Addressable gems to take this a step further for parsing domains and subdomains.
Our blog doesn't look great. We're going to install TailwindCSS so we can easily style our Rails application however we want.
Learn how to add a custom Rack middleware to Rails apps with a gem and Railtie. We'll build a simple Rack middleware that intercepts requests to make your app only work during business hours.
In this follow-up episode on building your first Ruby gem, we look at setting up version control, adding a basic testing setup, and adding a basic GitHub action for a CI (continuous integration) setup. With these pieces in place, we should have a solid fo
This episode, we explore the internals of OmniAuth in order to fix a bug and refresh the OmniAuth AuthHash without reinventing the wheel
In this episode, we will create our first Ruby Gem. It will be a very simplified gem that adds a method to the built-in Ruby Array class. The goal is to understand the core pieces of what is needed to create a gem that we can share with the community.
I recently became a maintainer of the Sequenced gem for Rails, so this lesson we walk through all the different things for maintaining a gem and making sure it works with the latest Rails versions.
Testing out new features or changes in production is something almost every application needs. Flipper is a fantastic tool with a GUI for rolling out these changes easily in your Ruby on Rails app.
C extensions are a powerful tool to connect Ruby code with C libraries that can perform much faster than a pure Ruby counterpart.
Learn how to use Kredis and see it works by implementing a recent searches unique list
How do we test API requests in a Rubygem to make sure that we're integrating correctly with our backend? We'll learn how to use stubs to fake out the request and test our code without any network requests.
The core of any API wrapper is the actions for create, read, update, and delete. We'll implement the CRUD for a resource so you can see how to do it and wire up everything together that we've built so far.
The core of an API wrapper Rubygem is defining the Resource endpoints so developers can make requests cleanly. We'll also learn how to handle pagination for endpoints that return a list of results.
When you receive a JSON response from an API endpoint, it's really easy to convert this to a Ruby hash. But hashes don't feel very Ruby-ish when you're working with them and you can't add methods and treat them like objects.
The first step in building an API wrapper Rubygem is building your HTTP client. We're going to use Faraday as our HTTP client and get it setup with authentication.
ActsAsTenant needed some maintenance so we're going to walk through the steps of refactoring the gem and Rspec test suite
Appraisal lets us test our code against different versions of dependencies. This is fantastic if you're building Rubygems that must work with multiple versions of Rails or other dependencies
Now that the Paperclip gem has been deprecated, it's recommended that you migrate your apps to ActiveStorage
A/B testing (or split testing) is a really common way of testing changes in your app to determine which works best for your users.
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 Privacy Policy.
Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.
© 2023 GoRails, LLC. All rights reserved.