You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/config/initializers/hash.rb

7 lines
112 B

class Hash
def convert_nulls
self.inject({}){|h,(k,v)| h[k] = (v == "null" ? nil : v); h }
end
end