The anti-pattern that I want to kill is:
- if !current_user
# do something
- if !member
# do something else
- if admin
# blah blah blah
- else
# Bored now.
I suspect the answer has something to do with view helpers and partials, but I'm wondering what some of the best practices and design patterns are. Thanks!