README.md in active_regulation-2.2.1 vs README.md in active_regulation-2.2.2
- old
+ new
@@ -47,15 +47,18 @@
# Add one of the datetime attributes
# above to the corresponding table.
include ActiveRegulation::Containment
+ # A virtual attribute is generated for
+ # easy use with forms and models
+
end
```
## Usage
```ruby
-user = User.create!
+user = User.create!(activation: 1)
user.active? #=> true
user.inactive? #=> false
user.inactive!
\ No newline at end of file