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:
parent
29186ea58f
commit
e68cd6fe96
1 changed files with 0 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue