Sha256: 612ec10b7293aaadc4b6dd5859c01127defd8dfd8d390ce988ddbbd2835f6f93
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 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 Apartment.database_names = lambda{ Cadenero::V1::Account.pluck(:subdomain)}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cadenero-0.0.2.b8 | config/initializers/apartment.rb |
cadenero-0.0.2.b7 | config/initializers/apartment.rb |