rails g resource user email password_digest