lib/picky/backends/sqlite/basic.rb in picky-4.4.2 vs lib/picky/backends/sqlite/basic.rb in picky-4.5.0
- old
+ new
@@ -50,10 +50,10 @@
transaction do
# Note: Internal structures need to
# implement each.
#
internal.each do |key, value|
- encoded_value = Yajl::Encoder.encode value
+ encoded_value = MultiJson.encode value
db.execute 'insert into key_value values (?,?)', key.to_s, encoded_value
end
end
end