I tried to make a redirect to the '404' page.
In my filter I made a mistake and wrote:
redirect_to '404'
When i tested this, I had a strange result:
It seems like my browser was redirrected me back(I saw page, where I was before), like I'm wrote:
redirect_to :back
There are links to my picture about that:
http://oi58.tinypic.com/j62xht.jpg
http://itmages.ru/image/view/2873810/38c73083
My browser: Mozila Firefox 39.0.3
And i have a question: "Why it works?"