Rack Pesticide blocks annoying and shady crawlers and websites that pollute your logs with their HTTP referrer information.
Add this line to your application's Gemfile:
gem 'rack-pesticide', :git => 'https://github.com/mdippery/rack-pesticide.git'
And then execute:
Simply add these two lines of code to your
require 'rack-pesticide' use ::
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new pull request