From faf91b0db432d6b9dc820c060ccce0b3d10d7daa Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 30 Nov 2018 21:37:28 +0900 Subject: Use the full link URL instead of bit.ly [ci skip] --- activerecord/lib/active_record/integration.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/integration.rb b/activerecord/lib/active_record/integration.rb index ec39ece87f..90fb10a1f1 100644 --- a/activerecord/lib/active_record/integration.rb +++ b/activerecord/lib/active_record/integration.rb @@ -189,7 +189,8 @@ module ActiveRecord # raw_timestamp_to_cache_version(timestamp) # # => "20181015200215266505" # - # Postgres truncates trailing zeros, https://bit.ly/2QUlXiZ + # Postgres truncates trailing zeros, + # https://github.com/postgres/postgres/commit/3e1beda2cde3495f41290e1ece5d544525810214 # to account for this we pad the output with zeros def raw_timestamp_to_cache_version(timestamp) key = timestamp.delete("- :.") -- cgit v1.2.3