Michael Hartl's Rails 3 Tutorial: Problem with has_password? method in Chapter 7
问题 This has been kicking my butt all morning. Right now, I'm just beginning Chapter 7.2.4 of Michael Hartl's excellent Ruby on Rails 3 Tutorial , and I'm running into some issues. The section begins with a quick check of the has_password? method, in the Rails console sandbox. Here's what I've typed in: ruby-1.9.2-p180 :001 > User => User(id: integer, name: string, email: string, created_at: datetime, updated updated_at: datetime, encrypted_password: string, salt: string) ruby-1.9.2-p180 :002 >