We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Style/RedundantRegexpEscape
1 parent 7cfd50b commit 2f46159Copy full SHA for 2f46159
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb
@@ -26,7 +26,7 @@ def quote_column_name_or_expression(name) # :nodoc:
26
# if only valid lowercase column characters in name
27
when /^[a-z][a-z_0-9$#]*$/
28
"\"#{name.upcase}\""
29
- when /^[a-z][a-z_0-9$#\-]*$/i
+ when /^[a-z][a-z_0-9$#-]*$/i
30
"\"#{name}\""
31
# if other characters present then assume that it is expression
32
# which should not be quoted
0 commit comments