You should use protection!
Konstantin Haase, Corey Ward, David Kellum, Fojas
gem "rack-protection", "~> 1.1.2"