lib/picky/sources/couch.rb in picky-3.5.4 vs lib/picky/sources/couch.rb in picky-3.6.0
- old
+ new
@@ -30,10 +30,10 @@
Hash === options && options[:url] || raise_no_db_given(category_names)
@db = RestClient::Resource.new options.delete(:url), options
key_format = options.delete :key_format
- @key_format = key_format && key_format.intern || :to_sym
+ @key_format = key_format && key_format.intern || :to_s
end
def to_s
self.class.name
end
\ No newline at end of file