README.md in invisible_captcha-0.1.3 vs README.md in invisible_captcha-0.2.0
- old
+ new
@@ -3,20 +3,30 @@
## Installation
Add this line to you Gemfile:
```
-gem 'invisible_captcha', :require => 'invisible_captcha'
+gem 'invisible_captcha'
```
+Or install gem:
+
+```
+gem install invisible_captcha
+```
+
## Usage
In your form:
```ruby
<%= form_for(@topic) do |f| %>
- ...
- <%= invisible_captcha 'topic', 'subtitle' %>
- ...
+
+ <!-- use form helper -->
+ <%= f.invisible_captcha :subtitle %>
+
+ <!-- or use view helper -->
+ <%= invisible_captcha :topic, :subtitle %>
+
<% end %>
```
In your ActiveModel: