action_dispatch is only fired in development