lib/multiplicity.rb in multiplicity-0.1.1 vs lib/multiplicity.rb in multiplicity-0.2.0

- old
+ new

@@ -1,8 +1,7 @@ require 'multiplicity/version' require 'multiplicity/tenant' -require 'multiplicity/middleware' module Multiplicity def self.adapter; @adapter; end def self.adapter=(adapter) @@ -22,7 +21,9 @@ def self.domain=(uri) @domain = uri.to_s end end +# Load Subdomain by default until there are multiple strategies +require 'multiplicity/middleware/subdomain' # Always load AR adapter for now, until there is more than one require 'multiplicity/adapters/active_record'