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.
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.
A lot of developers use link_to and button_to interchangeably. In this lesson, we'll explore when you should use link_to and when to use button_to and the differences between them.
Our first step in building any application is designing what database models we will need to store our data.
We don't want to save passwords in plaintext in our password manager's database. That would be insecure. Luckily Rails provides ActiveRecord Encryption to make this easy.
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
Next up, we need to be able to edit and update the passwords in our password manager application
Copying to the clipboard is an incredibly useful feature for a password manager. We always want to copy & paste the username and password to authenticate, so we'll write a Stimulus Controller to add copy to clipboard functionality
OAuth can be hard to understand and debug. Plus, this process is abstracted even further with OmniAuth in Rails. In this episode, we'll walk through t
Sharing is caring. Password sharing can be pretty easily implemented by using our join table. All we need to do is add and remove records to add or remove access for a user.
Now that we have password sharing, it's important to add roles & permissions so users have limited access to actions on shared passwords.
We're ready to spruce up our Password Manager design with a little TailwindCSS.
We're ready to deploy our Password Manager to a hosting provider. We've chosen Fly.io this time to change things up and see how another hosting service works.
In this episode, we will extend Trix by adding a text highlighting feature.
In this video we explore some potentially unexpected behavior resulting from using Active Record scopes.
Our most popular episode is the Liking Posts episode, so we're revising it and taking advantage of Hotwire to implement the same feature with no custom Javascript
In this episode, we will look at refactoring some time related code by leveraging ActiveSupport::TimeWithZone
Modules and concerns provide a way to make functionality reusable across your Rails application and other apps. In this lesson, we'll show you how we can refactor our comments functionality to add a feature to any resources in Rails.
Did you know Rails provides concerns for routes in addition to concerns for models and controllers?
Turbo Frames provide an iFrame like concept for Hotwire applications. If you're using Turbo streams to replace a portion of the page, you can accomplish the same thing even easier using Turbo Frames
In this episode, we will look at an approach to adding the ability to delete / remove the nested fields from our form.
Ever wondered how ViewComponent or Phlex works with Rails to build components? Rails has a method called render_in that any object can implement to build custom render functionality like components.
Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.