Skip to content

Commit 04a539f

Browse files
committed
Rename _quote to quote
Related to #978
1 parent 709df47 commit 04a539f

File tree

1 file changed

+1
-1
lines changed
  • lib/active_record/connection_adapters/oracle_enhanced

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/oracle_enhanced/quoting.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def quote_string(s) # :nodoc:
7474
s.gsub(/'/, "''")
7575
end
7676

77-
def _quote(value) # :nodoc:
77+
def quote(value) # :nodoc:
7878
case value
7979
when Type::OracleEnhanced::CharacterString::Data then
8080
"'#{quote_string(value.to_s)}'"

0 commit comments

Comments
 (0)