company_scope 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/company_scope/railtie.rb +1 -1
- data/lib/company_scope/version.rb +1 -1
- data/log/test.log +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67f97ee18ea2db521a006698af04ac418b25f655
|
4
|
+
data.tar.gz: 7aadddea2aba3eb1f1401489b8641875f804bcab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efef00d3736d4fda3be69119dd086f4610c023c5f421ed0fc532cc7f675e7047405d8e6f3e333ec285959f897c6fda35515772d5ce70ea8a910cbe75408d8411
|
7
|
+
data.tar.gz: 95167ad9bd1ae66d7beb473eb44e8daa91eab2c4ec3985ff8c451d639c29b506e13e9f2d08c14a58a59b0819d512b630e3574dc88f9783bb2c0f5a23c8a21a65
|
@@ -16,7 +16,7 @@ module CompanyScope
|
|
16
16
|
#
|
17
17
|
# - add MultiCompany Rack middleware to detect the company_name from the subdomain
|
18
18
|
#app.config.middleware.insert_after Rack::Sendfile, Custom::MultiCompany, company_config, company_name_matcher
|
19
|
-
app.config.middleware.insert_before Rack::
|
19
|
+
app.config.middleware.insert_before Rack::Runtime, Custom::MultiCompany, company_config, company_name_matcher
|
20
20
|
# - the base module injects the default scope into company dependant models
|
21
21
|
#
|
22
22
|
ActiveRecord::Base.send(:include, CompanyScope::Base)
|
data/log/test.log
CHANGED
@@ -350,3 +350,11 @@ Processing by DummyApplicationController#index as HTML
|
|
350
350
|
Completed 200 OK in 0ms (Views: 0.2ms)
|
351
351
|
Processing by DummyApplicationController#index as HTML
|
352
352
|
Completed 500 Internal Server Error in 0ms
|
353
|
+
Processing by DummyApplicationController#index as HTML
|
354
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
355
|
+
Processing by DummyApplicationController#index as HTML
|
356
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
357
|
+
Processing by DummyApplicationController#index as HTML
|
358
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
359
|
+
Processing by DummyApplicationController#index as HTML
|
360
|
+
Completed 500 Internal Server Error in 0ms
|