Don't use Hash#to_hstore which disappeared.