`observer' for AccountController:Class"

hi, I've just changed to rails 2.0 and got "undefined method `observer' for AccountController:Class" What can i do for this problem?

This example come from <Beginning Ruby on Rails E-Commerce>