RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: customs x
How to Make a Generator
Episode #58Jul 16, 200739 comments

How to Make a Generator

Rails comes with many built-in generators, but what if you want to customize them or make your own? Rails gives you a great way to do this which you will learn in this episode. (11 minutes)
Handling Exceptions
Episode #53Jul 04, 200740 comments

Handling Exceptions

When an exception is raised in development you get the full error along with the stack trace. In production, only a simple message is displayed. Learn why this is and how to customize the handling of exceptions. (8 minutes)
The Logger
Episode #56Jul 11, 200732 comments

The Logger

Learn all about the logger in this episode. See how to send messages to the log and how to customize it. (9 minutes)
Using with_scope
Episode #5Mar 14, 200757 comments

Using with_scope

Learn how to use with_scope - a very powerful method which will allow your custom find methods to accept any find options. Just like magic! (2 minutes)
Named Routes
Episode #34May 21, 200733 comments

Named Routes

When you add a custom route, make it a named route so you have url helper methods to easily link to that new route. See episode for details. (6 minutes)
Move Find into Model
Episode #4Mar 12, 200746 comments

Move Find into Model

Move a find into the model to clean up the controllers and remove duplication. Also see how you can call these custom find methods through an association. (2 minutes)
Stopping Spam with Akismet
Episode #65Aug 06, 200758 comments

Stopping Spam with Akismet

The Railscasts site has been getting a lot of comment spam in the past, but no longer. In this episode I will show you how I solved this problem by using the Akismet web service. (11 minutes)
Update through Checkboxes
Episode #52Jul 02, 200744 comments

Update through Checkboxes

See how to select multiple items using checkboxes and perform an action on the selected items in this episode. (10 minutes)