File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,16 @@ ActsAsTenant.configure do |config|
1616end
1717```
1818
19+ * Add ` config.global_records_identifier ` configuration. [ #332 ] ( https://github.com/ErwinM/acts_as_tenant/pull/332 )
20+
21+ This is helpful when you want to use a different global records identifier instead of ` nil ` :
22+
23+ ``` ruby
24+ ActsAsTenant .configure do |config |
25+ config.global_records_identifier = 1
26+ end
27+ ```
28+
19291.0.1
2030-----
2131
Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ are shown below with sample overrides following. In `config/initializers/acts_as
253253``` ruby
254254ActsAsTenant .configure do |config |
255255 config.require_tenant = false # true
256+ config.global_records_identifier = nil
256257
257258 # Customize the query for loading the tenant in background jobs
258259 config.job_scope = -> { all }
You can’t perform that action at this time.
0 commit comments