RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: authentication xFree Episodes x
Super Simple Authentication
Episode #21Apr 20, 200777 comments

Super Simple Authentication

The final piece of the administration puzzle: authentication. There are many different approaches which is why I saved this step for last. This episode will cover a few techniques including the simple solution used for this site. (6 minutes)
OmniAuth Part 2
Episode #236Oct 13, 201092 comments

OmniAuth Part 2

In this episode we continue our look at integrating OmniAuth with devise. Here I show how to set up new users with validations. (15 minutes)
Action Mailer in Rails 3
Episode #206Mar 22, 201078 comments

Action Mailer in Rails 3

Action Mailer has been rewritten for Rails 3 providing a much cleaner API with its use of the Mail gem. (12 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)
PayPal Security
Episode #143Jan 05, 200972 comments

PayPal Security

This episode shows how to encrypt the variables passed to PayPal and verify the authenticity of the payment notifications (IPN). (11 minutes)
More on ActiveResource
Episode #95Mar 02, 200855 comments

More on ActiveResource

See how to handle authentication and custom actions using ActiveResource in this episode. (8 minutes)
OpenID with Authlogic
Episode #170Jul 13, 200972 comments

OpenID with Authlogic

Learn how to apply OpenID to an existing Authlogic setup as I show in this episode. This builds upon the app from episode 160. (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)
Factories not Fixtures
Episode #158Apr 20, 200967 comments

Factories not Fixtures

Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show a better alternative using factories to generate the needed records. (12 minutes)
Webrat
Episode #156Apr 06, 200960 comments

Webrat

If you prefer writing integration tests in ruby instead of Cucumber's plain english, consider interacting with Webrat directly as I show in this episode. (7 minutes)