lib/fossil_dbr.rb in fossil-0.5.24 vs lib/fossil_dbr.rb in fossil-0.5.25
- old
+ new
@@ -1,2 +1,2 @@
# require the dbr models files that rewrite the model associations
-Dir.glob('dbr_models/*.rb').each{|f| require f}
+Dir["#{File.dirname(__FILE__)}/lib/dbr_models/*.rb"].each{|f| load f}
\ No newline at end of file