#109
May 21
12 comments
Tracking Attribute Changes
Rails 2.1 keeps track of the changes you make to a model's attributes. It also allows you to see what the previous value was. But watch out for the gotcha! See this episode for details.
named_scope
The named_scope method in Rails 2.1 makes performing finds on models very elegant and convenient. See how in this episode.
Migrations in Rails 2.1
Migrations now have a timestamp as their version number in Rails 2.1. In this episode I will explain this change as well as show you some other cool additions.
Time Zones in Rails 2.1
In the past, time zones have been very difficult to work with, but no longer! Rails 2.1 brings with it great time zone support as you can see in this episode.
Gitting Rails 2.1 RC1
Rails 2.1 Release Candidate 1 was just released! In this episode I will show you how to install it into your Rails project.
Exception Notifications
If you're running a production site, it's a good idea to record all exceptions which occur. See how to set up a notification system which does that in this episode.
Site Wide Announcements
Sometimes you need to display an administrative announcement to every page on the site and give the users the ability to hide the announcement. See how in this episode.
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.
Refactoring Out Helper Object
If you have complex view logic, this can easily lead to helper methods which call each other. See how to refactor this out into another object in this episode.
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!



