RailsCasts Pro episodes are now free!

Learn more or hide this

Refinery CMS Basics
Episode #332Mar 14, 201277 comments

Refinery CMS Basics

If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build a site using Refinery CMS. (11 minutes)
Hackers Love Mass Assignment (revised)
Episode #26Mar 08, 201266 comments

Hackers Love Mass Assignment (revised)

One of the most common security issues in a Rails application is the mass-assignment vulnerability which allows a user to set any attribute on the model. Learn how to prevent it in this episode. (6 minutes)
A/B Testing with Split
Episode #331Mar 07, 201257 comments

A/B Testing with Split

Split testing allows you to experiment with different designs and track conversions to determine which one is the most effective. Learn how to do A/B testing using Split in this episode. (10 minutes)
Better Sass with Bourbon
Episode #330Mar 07, 201265 comments

Better Sass with Bourbon

If you are tired of the browser vendor prefixes in CSS, check out Bourbon. It provides Sass mixins and functions to make CSS more convenient. (7 minutes)
SimpleForm (revised)
Episode #234Mar 03, 201262 comments

SimpleForm (revised)

Easily generate complex forms with SimpleForm. Here I show how to convert bulky markup into a concise list of fields, customize it by passing options, and add error handling. (9 minutes)
More on Twitter Bootstrap
Episode #329Feb 28, 2012117 comments

More on Twitter Bootstrap

This episode continues on the Twitter Bootstrap project showing how to display flash messages, add form validations with SimpleForm, customize layout with variables, and switch to using Sass. (12 minutes)
Twitter Bootstrap Basics
Episode #328Feb 28, 2012138 comments

Twitter Bootstrap Basics

Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with the twitter-bootstrap-rails gem. (10 minutes)
Authentication from Scratch (revised)
Episode #250Feb 25, 2012100 comments

Authentication from Scratch (revised)

Simple password authentication is easy to do with has_secure_password. Here you will learn how to make a complete Sign Up, Log In, and Log Out process as well as restrict access to certain actions. (13 minutes)
MiniTest with Rails
Episode #327Feb 21, 201277 comments

MiniTest with Rails

MiniTest is a fast and lightweight testing library. Here you will learn how to use it in a Rails app for model, helper, and integration testing. The Turn gem is also demonstrated for prettier test output. (15 minutes)
ActiveAttr
Episode #326Feb 21, 201254 comments

ActiveAttr

ActiveAttr provides what Active Model left out. If you need to create a table-less model with features similar to Active Record, watch this episode. (5 minutes)