Undefined method: hashed_password?

I bought the Agile book to learn Rails, and everything was going
smooth until Iteration F1: Adding Users. I’ve double checked my
code, used the code provided by the book, and still it returns this
same error message:


NoMethodError in LoginController#add_user

undefined method `hashed_password=’ for #User:0x473f0d8

RAILS_ROOT: ./script/…/config/…
Application Trace | Framework Trace | Full Trace
C:/InstantRails-1.6-win/InstantRails/ruby/lib/ruby/gems/1.8/gems/
activerecord-1.15.2/lib/active_record/base.rb:1858:in method_missing' #{RAILS_ROOT}/app/models/user.rb:40:inpassword=’
#{RAILS_ROOT}/app/controllers/login_controller.rb:38:in new' #{RAILS_ROOT}/app/controllers/login_controller.rb:38:inadd_user’

Request

Parameters: {“user”=>{“name”=>“al”, “password_confirmation”=>“cl”,
“password”=>“bl”}, “commit”=>“Add User”}

Show session dump


flash: !map:ActionController::Flash::FlashHash {}

Response
Headers: {“cookie”=>[], “Cache-Control”=>“no-cache”}


Any Ideas?