README.md in invisible_captcha-0.9.1 vs README.md in invisible_captcha-0.9.2
- old
+ new
@@ -48,11 +48,11 @@
class TopicsController < ApplicationController
invisible_captcha only: [:create, :update], honeypot: :subtitle
end
```
-This method will act as a `before_filter` that triggers when spam is detected (honeypot field has some value). By default it responds with no content (only headers: `head(200)`). This is a good default, since the bot will surely read the response code and will think that it has achieved to submit the form properly. But, anyway, you are able to define your own callback by passing a method to the `on_spam` option:
+This method will act as a `before_action` that triggers when spam is detected (honeypot field has some value). By default it responds with no content (only headers: `head(200)`). This is a good default, since the bot will surely read the response code and will think that it has achieved to submit the form properly. But, anyway, you are able to define your own callback by passing a method to the `on_spam` option:
```ruby
class TopicsController < ApplicationController
invisible_captcha only: [:create, :update], on_spam: :your_spam_callback_method
@@ -172,6 +172,6 @@
$ bundle exec rake web # PORT=4000 (default: 3000)
```
## License
-Copyright (c) 2012-2016 Marc Anguera. Invisible Captcha is released under the [MIT](LICENSE) License.
+Copyright (c) Marc Anguera. Invisible Captcha is released under the [MIT](LICENSE) License.