Starting from scratch...no Devise.
Added User scaffold.
Set root route. Interesting that you can't use shorthand like new_user_path for the root method. You have to use the controller#action syntax.
Added VisitorPass model.
Added association with User model and nested routes for visitor passes.
Added comma between arguments in routes file.