From 16d814c11cc00ee57b01e6f20c6e22ec26448982 Mon Sep 17 00:00:00 2001 From: Kevin Pheasey Date: Tue, 9 Feb 2016 10:18:29 -0500 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7cf86be..c291f27 100644 --- a/README.md +++ b/README.md @@ -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.