lib/mongo_grid.rb in mongo_grid-0.3.1 vs lib/mongo_grid.rb in mongo_grid-0.3.2
- old
+ new
@@ -1,10 +1,10 @@
require 'version'
-#Dir[File.join(File.dirname(__FILE__), 'mongo_grid', '*.rb')].each do |extension|
-# require extension
-#end
+Dir[File.join(File.dirname(__FILE__), 'ext', '*.rb')].each do |extension|
+ require extension
+end
module ::MongoGrid
attr_accessor :db_name, :db_url
extend self
@@ -63,8 +63,5 @@
:content_type=>content_type,:file_size=>file_size}
end
end
-require 'mongoid'
-require 'action_base'
-require 'plug'
\ No newline at end of file