README.md in anchormodel-0.1.2 vs README.md in anchormodel-0.1.3
- old
+ new
@@ -48,9 +48,17 @@
# Installation
1. Add gem to Gemfile: `gem 'anchormodel'`
2. In `application_record.rb`, add in the class body: `include Anchormodel::ModelMixin`
+# Generator
+
+For convenience, Anchormodel provides a Rails generator:
+
+`rails generate anchormodel Role`
+
+This will create `app/anchormodels/role.rb`.
+
# Basic example
`app/anchormodels/role.rb`:
```ruby
\ No newline at end of file