From 31d91a9e0d50f68fd00a268d75bd637fd0321404 Mon Sep 17 00:00:00 2001 From: Guillaume DOTT Date: Sun, 20 Jan 2013 01:48:18 +0100 Subject: [PATCH] Add informations in README --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 715742c..e6fa936 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # ProjectHoneypotRails -TODO: Write a gem description +ProjectHoneypotRails provides integration between [ProjectHoneypot](https://github.com/gdott9/project_honeypot) +and Rails 3 to prevent suspicious IP to access your website. ## Installation @@ -18,7 +19,11 @@ Or install it yourself as: ## Usage -TODO: Write usage instructions here +Add this line in the controllers you want to protect +``` +protect_from_suspicious_ips +``` +This method can take the same arguments as `before_filter` to specify the actions you want to protect. ## Contributing