small medium large xlarge

22 Nov 2012, 06:02
dnlwng (4 posts)

In my version of the book, it tells you to run the command

rails generate scaffold User name:string password_digest:string

but in the user model, the attr_accessible line says

attr_accessible :name, :password, :password_confirmation

Is this a typo? I’m new to ruby and don’t really get it, Any help would be much appreciated!

You must be logged in to comment