aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-02-20 18:06:50 +0100
committerXavier Noria <fxn@hashref.com>2013-02-20 18:08:55 +0100
commit20ed3e0f715741ca53c992bcdf87b5039e6692af (patch)
treef1fc8c6fc69451a30d551a347c2853a466be62bf
parent1b776b947047ac4e13fc96c8c6aff2808c15692f (diff)
downloadrails-20ed3e0f715741ca53c992bcdf87b5039e6692af.tar.gz
rails-20ed3e0f715741ca53c992bcdf87b5039e6692af.tar.bz2
rails-20ed3e0f715741ca53c992bcdf87b5039e6692af.zip
moves the new :nsec date format to the Active Support changelog [ci skip]
-rw-r--r--activerecord/CHANGELOG.md7
-rw-r--r--activesupport/CHANGELOG.md4
2 files changed, 5 insertions, 6 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index f45b9219c7..1358c546e9 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -327,16 +327,11 @@
*Yves Senn*
* Add `ActiveRecord::Base.cache_timestamp_format` class attribute to control
- the format of the timestamp value in the cache key.
- This allows users to improve the precision of the cache key.
+ the format of the timestamp value in the cache key. Defaults to `:nsec`.
Fixes #8195.
*Rafael Mendonça França*
-* Add `:nsec` date format. This can be used to improve the precision of cache key.
-
- *Jamie Gaskins*
-
* Session variables can be set for the `mysql`, `mysql2`, and `postgresql` adapters
in the `variables: <hash>` parameter in `database.yml`. The key-value pairs of this
hash will be sent in a `SET key = value` query on new database connections. See also:
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 5f7559b5a6..daa283e397 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,5 +1,9 @@
## Rails 4.0.0 (unreleased) ##
+* Add `:nsec` date format.
+
+ *Jamie Gaskins*
+
* ActiveSupport::Gzip.compress allows two optional arguments for compression
level and strategy.