We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0949ee6 commit 08efe8fCopy full SHA for 08efe8f
lib/generators/multi_tenant_support/templates/initializer.rb.tt
@@ -1,3 +1,5 @@
1
+require 'multi_tenant_support'
2
+
3
MultiTenantSupport.configure do
4
model do |config|
5
config.tenant_account_class_name = 'REPLACE_ME'
test/generators/initializer_generator_test.rb
@@ -11,6 +11,8 @@ class InitializerGeneratorTest < Rails::Generators::TestCase
11
run_generator
12
initializer_file_content = File.read("#{destination_root}/config/initializers/multi_tenant_support.rb")
13
expected_content = <<~INITIALIZER
14
+ require 'multi_tenant_support'
15
16
17
18
0 commit comments