Instead of using a huge `if` statement, have separate controller actions for whatever model you may be creating.