mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
we should wrap strings as sql literals
This commit is contained in:
parent
57d5cd258e
commit
a70248c3d8
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ module ActiveRecord
|
|||
arel.project(selects.last)
|
||||
end
|
||||
else
|
||||
arel.project(@klass.quoted_table_name + '.*')
|
||||
arel.project(Arel::SqlLiteral.new(@klass.quoted_table_name + '.*'))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue