lib/saasable.rb in saasable-0.1.6 vs lib/saasable.rb in saasable-0.2.0
- old
+ new
@@ -1,11 +1,13 @@
module Saasable
# Errors
autoload :Errors, "saasable/errors"
- # Documents
- autoload :SaasDocument, "saasable/saas_document"
- autoload :ScopedDocument, "saasable/scoped_document"
+ # Middleware
+ autoload :Middleware, "saasable/middleware"
- # Controllers
- autoload :ScopedController, "saasable/scoped_controller"
-end
+ # Mongoid
+ autoload :Mongoid, "saasable/mongoid"
+end
+
+# Railtie
+require "saasable/railtie" if defined?(Rails)
\ No newline at end of file