concept archived user in category rails

appears as: rchived users, n archived user, Archived users
Rails 4 in Action: Revised Edition of Rails 3 in Action

This is an excerpt from Manning's book Rails 4 in Action: Revised Edition of Rails 3 in Action.

You’ve archived the user, but they still appear in the list of users—you’re not doing anything in your index action to hide archived users. Your index action in Admin::UsersController just looks like the following.

This is expected—you haven’t yet configured your app to not allow archived users to sign in.

$ git add .
$ git commit -m "Archived users cannot sign in to the app"
$ git push