Skip to content

Commit

Permalink
Update document
Browse files Browse the repository at this point in the history
  • Loading branch information
marshluca committed Jan 12, 2024
1 parent 9ec84ca commit 58b8d0d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ ActsAsTenant.configure do |config|
end
```

* Add `config.global_records_identifier` configuration. [#332](https://github.com/ErwinM/acts_as_tenant/pull/332)

This is helpful when you want to use a different global records identifier instead of `nil`:

```ruby
ActsAsTenant.configure do |config|
config.global_records_identifier = 1
end
```

1.0.1
-----

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ are shown below with sample overrides following. In `config/initializers/acts_as
```ruby
ActsAsTenant.configure do |config|
config.require_tenant = false # true
config.global_records_identifier = nil

# Customize the query for loading the tenant in background jobs
config.job_scope = ->{ all }
Expand Down

0 comments on commit 58b8d0d

Please sign in to comment.