lib/mongoid.rb in mongoid-0.4.1 vs lib/mongoid.rb in mongoid-0.4.2
- old
+ new
@@ -30,12 +30,13 @@
require "active_support/core_ext"
require "delegate"
require "will_paginate/collection"
require "mongo"
require "mongoid/associations"
+require "mongoid/commands"
require "mongoid/criteria"
require "mongoid/extensions"
-require "mongoid/commands"
+require "mongoid/field"
require "mongoid/document"
module Mongoid
# Raised when the database connection has not been set up.