examples/data_mapper/database.rb in nyny-1.0.2 vs examples/data_mapper/database.rb in nyny-2.0.0

- old
+ new

@@ -1,7 +1,7 @@ require 'data_mapper' -DataMapper.setup(:default, "sqlite:///#{Dir.pwd}/db/database.sqlite3") +DataMapper.setup(:default, "sqlite3://#{Dir.pwd}/db/database.sqlite3") Dir[File.dirname(__FILE__) + "/models/*.rb"].each {|f| require f } DataMapper.finalize DataMapper.auto_upgrade!