Save 36% for Black Friday! Save 36% on GoRails for Black Friday! Learn more →
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.
Did you know Rails provides concerns for routes in addition to concerns for models and controllers?
We need a way to view individual Blog Posts on their own URLs now. That's where our Show action comes into play and we will learn how to build that in this lesson.
An index page allows us to display all the blog posts in our database. We will learn how to setup routes that point to controllers and actions that render HTML.
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.
Learn how to apply advanced routing constraints such as domain, subdomain, user authentication, and more. We'll explore how to use custom constraints for routing multi-tenant Rails applications based upon subdomain and domain too.
Learn how to use custom route constraints in Rails to customize how routes respond to URLs
Updating slugs
In this episode, we add tests for our Basecamp 3 style urls that we built using a Rack middleware
Designing routes for a forum and discussing how we can use those to improve the structure of our Rails application
Dive into routing more deeply than just basic resources and writing routes from scratch
Join 87,110+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.