mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #37646 from yahonda/diag_oracle_enhanced_1943
Address `no implicit conversion of Arel::Attributes::Attribute into String`
This commit is contained in:
commit
803c6ba7b3
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ module Arel # :nodoc: all
|
|||
return o if o.orders.empty?
|
||||
return o unless o.cores.any? do |core|
|
||||
core.projections.any? do |projection|
|
||||
/FIRST_VALUE/.match?(projection)
|
||||
/FIRST_VALUE/ === projection
|
||||
end
|
||||
end
|
||||
# Previous version with join and split broke ORDER BY clause
|
||||
|
|
Loading…
Reference in a new issue