1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unused HstorePair constant

It is no longer used since 98bf64bcb9.
This commit is contained in:
Ryuta Kamizono 2021-04-14 00:51:18 +09:00
parent 29186ea58f
commit e68cd6fe96

View file

@ -91,11 +91,6 @@ module ActiveRecord
end
private
HstorePair = begin
quoted_string = /"([^"\\]*(?:\\.[^"\\]*)*)"/
/#{quoted_string}\s*=>\s*(?:(?=NULL)|#{quoted_string})/
end
def escape_hstore(value)
if value.nil?
"NULL"