RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: authentication xFree Episodes xTools x
Exploring RubyGems
Episode #384Oct 07, 201284 comments

Exploring RubyGems

RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch. (7 minutes)
Sending HTML Email
Episode #312Jan 02, 201249 comments

Sending HTML Email

HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3 and roadie gems. (5 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)
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)
YAML Configuration File
Episode #85Dec 23, 200750 comments

YAML Configuration File

Application configuration shouldn't be spread throughout your code base. Instead a much better place to put it is an external YAML file. See how to do that in this episode. (7 minutes)