You should use protection!
Konstantin Haase, Akzhan Abdulin, Corey Ward, David Kellum, Fojas, Martin Mauch
gem "rack-protection", "~> 1.2.0"