RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: search x
Notifications in Rails 3
Episode #249Jan 17, 201134 comments

Notifications in Rails 3

Rails 3 comes with instrument support through the ActiveSupport::Notifications class. Call "subscribe" to listen to notifications, and "instrument" to send them. (10 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)
Unobtrusive Javascript
Episode #205Mar 15, 201084 comments

Unobtrusive Javascript

Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice. (13 minutes)
Anonymous Scopes
Episode #112Jun 02, 200870 comments

Anonymous Scopes

The scoped method allows you to generate named scopes on the fly. In this episode I show how to use anonymous scopes to improve the conditional logic which was used in the previous episode on advanced search form. (8 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)
Auto-Complete Association
Episode #102Apr 21, 2008138 comments

Auto-Complete Association

Usually a select menu is used for setting a belongs_to association, but in this episode I will show you how to use a text field with auto completion. (13 minutes)
5 View Tips
Episode #100Apr 07, 200880 comments

5 View Tips

Here's five quick tips to use in views. Be sure to catch the end of the episode where I reveal an exciting contest! (9 minutes)
The Stack Trace
Episode #24Apr 27, 200746 comments

The Stack Trace

The stack trace can be a very useful tool when it comes to debugging. Learn the ins and outs of how the stack trace works in this episode. Note: I am using an older version of the Rails bundle here so it might be a little different than yours. The command in the newer version is called Install Plugin and requires you to type textmate_footnotes in the search. (4 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)
will_paginate
Episode #51Jun 29, 2007101 comments

will_paginate

In edge rails (soon to be Rails 2.0), the built-in pagination has been moved into a plugin: classic_pagination. I recommend jumping over to the will_paginate plugin as shown in this episode. (6 minutes)