rack-validate
rack-validate copied to clipboard
The middleware does not work with non-Rails application.
At line 19 of rack-validate.rb you make use of the blank? method, which is a Rails Object method (its not in the Ruby standard library). I would suggest you to change it with nil? or empty?.