Sha256: 461bb2dcc40d04bffd99fe2f895b190067bea52c4cc1dda306a5c194c59c35d6

Contents?: true

Size: 509 Bytes

Versions: 4

Compression:

Stored size: 509 Bytes

Contents

require File.expand_path('../../../app/extenders/middleware/robustness', __FILE__)

Rails.application.config.middleware.use(Robustness)
Rails.application.config.middleware.use(Apartment::Elevators::Subdomain)


Apartment.configure do |config|
  config.excluded_models = ["Cadenero::V1::Account",
                             "Cadenero::Member",
                             "Cadenero::User"]
  # Dynamically get database names to migrate
  # config.database_names = lambda{ Account.pluck(:database_name) }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cadenero-0.0.2.b4 config/initializers/apartment.rb
cadenero-0.0.2.b3 config/initializers/apartment.rb
cadenero-0.0.2.b2 config/initializers/apartment.rb
cadenero-0.0.2.b1 config/initializers/apartment.rb