Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Thorne committed Dec 3, 2014
1 parent 49fc631 commit 92f7b15
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -464,6 +464,20 @@ class Job
end
```

### Redis
AASM also supports persistence in Redis.
Make sure to include Redis::Objects before you include AASM.

```ruby
class User
include Redis::Objects
include AAASM

aasm do
end
end
```

### Automatic Scopes

AASM will automatically create scope methods for each state in the model.
Expand Down

0 comments on commit 92f7b15

Please sign in to comment.