lib/superstore/adapters/cassandra_adapter.rb in superstore-1.0.6 vs lib/superstore/adapters/cassandra_adapter.rb in superstore-1.0.7
- old
+ new
@@ -167,10 +167,10 @@
end
private
def sanitize(statement, *bind_vars)
- CassandraCQL::Statement.sanitize(statement, bind_vars)
+ CassandraCQL::Statement.sanitize(statement, bind_vars).force_encoding(Encoding::UTF_8)
end
def quote_columns(column_names)
column_names.map { |name| "'#{name}'" }
end