attr_accessibleがデフォルトで使われているのですが、#250 in railscasts では使うattr_accessorので戸惑います。
チュートリアルではAuthentication from Scratch、コードは
class User < ActiveRecord::Base
attr_accessible :email, :password, :password_confirmation
attr_accessor :password
...
end
しかし、データベースには、実際には password_hash と password_salt のみが格納されており、attr_accessible と attr_accessor に一致しません。誰かこれについて少し説明してもらえますか?