lib/ronin/database/database.rb in ronin-1.0.0.rc1 vs lib/ronin/database/database.rb in ronin-1.0.0.rc2

- old
+ new

@@ -203,9 +203,12 @@ DataMapper.setup(name,uri) end # auto-upgrade the database repository Database.upgrade!(&block) + + # finalize the model relationships + DataMapper.finalize end # # Performs Database transactions within a given repository. #