model/init.rb in ruby-station-0.1.3 vs model/init.rb in ruby-station-0.1.4.rc1
- old
+ new
@@ -1,5 +1,5 @@
require 'dm-core'
Ramaze::Log.info("opening database: #{Conf.db_path}")
DataMapper.setup(:default, "sqlite3://#{Conf.db_path}")
-require 'model/application'
+require __DIR__("application.rb")