Rails handler for implementing full POST-REDIRECT-GET pattern (even on errors)