Class: Innkeeper::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Innkeeper::Railtie
- Defined in:
- lib/innkeeper/railtie.rb
Class Method Summary collapse
Class Method Details
.prep ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/innkeeper/railtie.rb', line 8 def self.prep Innkeeper.configure do |config| config.excluded_models = [] config.force_reconnect_on_switch = false config.tenant_names = [] config.seed_after_create = false config.tenant_resolver = Innkeeper::Resolvers::Database end ActiveRecord::Migrator.migrations_paths = Rails.application.paths['db/migrate'].to_a end |