lib/picky/sources/couch.rb in picky-2.0.0.pre2 vs lib/picky/sources/couch.rb in picky-2.0.0.pre3

- old
+ new

@@ -24,20 +24,18 @@ # def initialize *category_names, options check_gem 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.to_sym || :to_sym end def to_s self.class.name - end - - # Default key format method for couch DB is to_sym. - # - def key_format - :to_sym end # Tries to require the rest_client gem. # def check_gem # :nodoc: