RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: helper xActive Record x
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)
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)
Helpers Outside Views
Episode #132Oct 20, 200858 comments

Helpers Outside Views

Have you ever wanted to access helper methods outside of the view layer? In this episode I show you a couple ways to do just that. (6 minutes)
Sortable Lists
Episode #147Feb 02, 200962 comments

Sortable Lists

Creating drag & drop sortable lists is fairly easy using Prototype and the built in helper methods. See how in this episode. (8 minutes)