README.md in humanizer-2.6.4 vs README.md in humanizer-2.7.0

- old
+ new

@@ -1,15 +1,15 @@ # Humanizer -Humanizer is a very simple CAPTCHA method. It has a localized YAML file with questions and answers which is used to validate that the user is an actual human. Any model that includes ActiveModel::Validations should work. Our aim is to be database and mapper agnostic, so if it doesn't work for you, open an issue. Humanizer works with Rails 3 and 4. +Humanizer is a very simple CAPTCHA method. It has a localized YAML file with questions and answers which is used to validate that the user is an actual human. Any model that includes ActiveModel::Validations should work. Our aim is to be database and mapper agnostic, so if it doesn't work for you, open an issue. Humanizer works with Rails 3–7. ## Installation Add `humanizer` to your Gemfile: ```ruby -gem 'humanizer' +gem "humanizer" ``` Bundle and run the generator in terminal: ```sh @@ -58,11 +58,11 @@ You can just have a simple attribute on your model and use it to bypass the validation. Here's an example: ```ruby attr_accessor :bypass_humanizer -require_human_on :create, :unless => :bypass_humanizer +require_human_on :create, unless: :bypass_humanizer ``` Now when bypass_humanizer is true, validation will be skipped. ## Reloading questions @@ -72,14 +72,9 @@ To make sure the current question doesn't get asked again, you can pass the current question id to the method. For example: ```ruby @user.change_humanizer_question(params[:user][:humanizer_question_id]) ``` - -## Live sites - -* [ArcticStartup.com](http://arcticstartup.com/) - sign up form -* [Paspartout](http://paspartout.com/) - sign up form ## License Humanizer is licensed under the MIT License, for more details see the LICENSE file.