Don't forget respond_to?
Oops don't require nonexistent stuff
Try to be more efficient in the middleware