clear context in rails middleware