aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorFederico Martinez <fed.x.gibson@gmail.com>2018-06-07 01:05:30 -0300
committerFederico Martinez <fed.x.gibson@gmail.com>2018-10-15 20:38:12 -0300
commitb1aeae0494c904db224b728330084ea173f38cf5 (patch)
tree2adb8fc7ce1b169c228717ef99686516035be2e9 /activerecord/CHANGELOG.md
parent134dab46e4e94d7e6e37cec43dca8183fe72aea6 (diff)
downloadrails-b1aeae0494c904db224b728330084ea173f38cf5.tar.gz
rails-b1aeae0494c904db224b728330084ea173f38cf5.tar.bz2
rails-b1aeae0494c904db224b728330084ea173f38cf5.zip
Fix Collection cache key with limit and custom select (PG:AmbigousColumn: Error)
Change query to use alias name for timestamp_column to avoid ambiguity problems when using timestamp from subquery.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 00f4ee1aaa..4e0336f46b 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Fix Collection cache key with limit and custom select
+
+ Fixes #33056.
+
+ *Federico Martinez*
+
* Add basic API for connection switching to support multiple databases.
1) Adds a `connects_to` method for models to connect to multiple databases. Example: