Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kpheasey committed Feb 9, 2016
1 parent 5df3790 commit 16d814c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ NOTE: The default is `async: false`

There are a few options that you can change by updating `config/initializers/active_touch.rb`.

- `async`: Define a default for all touches to run asynchronously by setting this to true.
- `ignored_attributes`: When no `watch` argument is supplied, all attribute changes can trigger a touch. Define a default list of ignored attributes here. Default is `:updated_at`.
- `async`: Default to asynchronous touches
- `ignored_attributes`: When no `watch` argument is supplied, all attribute changes can trigger a touch. Define a default list of ignored attributes here. Default is `[:updated_a]t`.
- `queue`: Specify which queue to put asynchronous jobs in.
- `timestamp_attribute`: The timestamp attribute that is updated by a touch, default is `:updated_at`. You can set this to `nil` if you don't want to update any timestamp.

0 comments on commit 16d814c

Please sign in to comment.