Instance variables should be used when the variable is part of object state, or when in controllers when the param is needed by the view. In this case the guest variable isn't part of the controller objects state and in some cases isn't used by the view.