lib/mongo_mapper.rb in jmonteiro-mongo_mapper-0.1.2 vs lib/mongo_mapper.rb in jmonteiro-mongo_mapper-0.1.4
- old
+ new
@@ -98,16 +98,15 @@
def self.normalize_object_id(value)
value.is_a?(String) ? Mongo::ObjectID.from_string(value) : value
end
end
-require 'mongo_mapper/finder_options'
require 'mongo_mapper/support'
+require 'mongo_mapper/finder_options'
+require 'mongo_mapper/dynamic_finder'
require 'mongo_mapper/descendant_appends'
-require 'mongo_mapper/dynamic_finder'
-
require 'mongo_mapper/plugins'
require 'mongo_mapper/plugins/associations'
require 'mongo_mapper/plugins/callbacks'
require 'mongo_mapper/plugins/clone'
require 'mongo_mapper/plugins/descendants'
@@ -121,7 +120,7 @@
require 'mongo_mapper/plugins/protected'
require 'mongo_mapper/plugins/rails'
require 'mongo_mapper/plugins/serialization'
require 'mongo_mapper/plugins/validations'
-require 'mongo_mapper/embedded_document'
require 'mongo_mapper/document'
+require 'mongo_mapper/embedded_document'
\ No newline at end of file