This is good, but you may be interested in a better option: Advanced Rubyists might use the "Null object" pattern here, since you don't actually want a User object here. Hint: http://devblog.avdi.org/2011/05/30/null-objects-and-falsiness/ :]