RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: authorization xFree Episodes x
Dynamic attr_accessible
Episode #237Oct 25, 201065 comments

Dynamic attr_accessible

It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode. (9 minutes)
Customizing Devise
Episode #210Apr 19, 201074 comments

Customizing Devise

Here we dive deeper into Devise by customizing how the views, routing, validations, and authentication works. (7 minutes)
Embedded Association
Episode #189Nov 23, 200983 comments

Embedded Association

Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a single column through a string or bitmask. (14 minutes)
A/B Testing with A/Bingo
Episode #214May 17, 201052 comments

A/B Testing with A/Bingo

A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option. (11 minutes)
7 Security Tips
Episode #178Sep 07, 200964 comments

7 Security Tips

Security is important! Here I show seven different security flaws which are common to Rails applications ranging from mass assignment to CSRF protection. (14 minutes)
Beginning with Cucumber
Episode #155Mar 30, 2009107 comments

Beginning with Cucumber

Cucumber is a high-level testing framework. In this episode we will create a new Rails application from scratch using behavior driven development. (15 minutes)
Integrating Active Merchant
Episode #145Jan 19, 200991 comments

Integrating Active Merchant

In this episode I show how to add Active Merchant's functionality to a Rails application to make a fully-functional checkout process. (18 minutes)
Thinking Sphinx
Episode #120Jul 28, 2008114 comments

Thinking Sphinx

If you need a full text search engine, Thinking Sphinx is a great solution. See why in this episode. (12 minutes)
More on Cucumber
Episode #159Apr 27, 200957 comments

More on Cucumber

There is a lot more to Cucumber than I showed in an earlier episode. See how to refactor complex scenarios in this episode. (18 minutes)
Active Merchant Basics
Episode #144Jan 12, 200969 comments

Active Merchant Basics

Active Merchant is a great library for handling credit card transactions. In this episode I will show you the basics of using it to communicate with PayPal's gateway. (10 minutes)