Skip to content

Commit

Permalink
Merge pull request rails#36733 from ch3rub1m/fix-cache-timestamp-form…
Browse files Browse the repository at this point in the history
…at-guide

Fix cache_timestamp_format default value in guides
  • Loading branch information
rafaelfranca authored Jul 23, 2019
2 parents 990c077 + 4a84942 commit 31105c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ All these configuration options are delegated to the `I18n` library.

* `config.active_record.lock_optimistically` controls whether Active Record will use optimistic locking and is `true` by default.

* `config.active_record.cache_timestamp_format` controls the format of the timestamp value in the cache key. Default is `:nsec`.
* `config.active_record.cache_timestamp_format` controls the format of the timestamp value in the cache key. Default is `:usec`.

* `config.active_record.record_timestamps` is a boolean value which controls whether or not timestamping of `create` and `update` operations on a model occur. The default value is `true`.

Expand Down

0 comments on commit 31105c8

Please sign in to comment.