lib/couch_potato.rb in couch_potato-0.5.1 vs lib/couch_potato.rb in couch_potato-0.5.2

- old
+ new

@@ -8,9 +8,11 @@ JSON.create_id = 'ruby_class' module CouchPotato Config = Struct.new(:database_name, :validation_framework).new Config.validation_framework = :active_model + + class NotFound < StandardError; end # Returns a database instance which you can then use to create objects and query views. You have to set the CouchPotato::Config.database_name before this works. def self.database @@__database ||= Database.new(self.couchrest_database) end