RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: subdomain x
Subdomains (revised)
Episode #123Jan 13, 201266 comments

Subdomains (revised)

In Rails 3.1 subdomains are easier than ever to use. Here I show how to route a subdomain to a specific controller action, generate links, nest resources, and more. (7 minutes)
Subdomains in Rails 3
Episode #221Jul 05, 201083 comments

Subdomains in Rails 3

It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode. (13 minutes)
Multitenancy with Scopes
Episode #388Oct 20, 2012120 comments

Multitenancy with Scopes

A multi-tenant application can be difficult to implement because the data for each tenant must be completely separate. Here I show how to do this using subdomains and default scopes in Active Record. (12 minutes)
Subdomains
Episode #123Aug 18, 200882 comments

Subdomains

Learn how to unleash the full potential of subdomains with the subdomain-fu Rails plugin in this episode. (18 minutes)
Multitenancy with PostgreSQL
Episode #389Oct 27, 2012112 comments

Multitenancy with PostgreSQL

PostgreSQL Schemas can help create a multi-tenant app by keeping data separate at the database layer. Integrating with migrations can be tricky though, so watch this episode for the full details. (11 minutes)
What's New in Rails 4
Episode #400Jan 04, 2013115 comments

What's New in Rails 4

Rails 4.0 is still unfinished, but it is shaping up to become a great release. Here I show how to setup a new Rails 4.0 (edge) application and walk through many of its new features. (20 minutes)
Template Inheritance
Episode #269Jun 06, 201143 comments

Template Inheritance

In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views, and a lookup path for overriding templates based on the subdomain. (8 minutes)
Rails 3.1 Overview
Episode #265May 09, 2011149 comments

Rails 3.1 Overview

This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features. (13 minutes)
Dynamic Layouts
Episode #125Sep 01, 200842 comments

Dynamic Layouts

Discover how to dynamically change the layout using content in the database. Check out this episode for details. (11 minutes)