aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-03-07 17:04:25 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-03-07 17:05:52 +0900
commitb02a6936f7156f9615d63abac0a96da07ca59e0e (patch)
tree6734c682bd85917633ae8ed521984411357fcecd /activerecord
parentcdc62d5bcae7be47eefb346b78e310a3f1b63545 (diff)
downloadrails-b02a6936f7156f9615d63abac0a96da07ca59e0e.tar.gz
rails-b02a6936f7156f9615d63abac0a96da07ca59e0e.tar.bz2
rails-b02a6936f7156f9615d63abac0a96da07ca59e0e.zip
Fix incorrect identifier quoting [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 24a50db619..936d8321b0 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -243,10 +243,10 @@ module ActiveRecord
# Allows you to change a previously set select statement.
#
# Post.select(:title, :body)
- # # SELECT `posts.title`, `posts.body` FROM `posts`
+ # # SELECT `posts`.`title`, `posts`.`body` FROM `posts`
#
# Post.select(:title, :body).reselect(:created_at)
- # # SELECT `posts.created_at` FROM `posts`
+ # # SELECT `posts`.`created_at` FROM `posts`
#
# This is short-hand for <tt>unscope(:select).select(fields)</tt>.
# Note that we're unscoping the entire select statement.