Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support has many through #1

Open
wants to merge 35 commits into
base: support_has_many_through
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
01e1c61
Update to latest rubygems in CI runs
excid3 Feb 16, 2023
944e499
Test against Ruby 3.2 (#305)
excid3 Feb 16, 2023
5542e7b
Honor the scope passed to associations when performing validations
adrian-gomez May 6, 2022
efb05b2
Ignore tenant scope when finding tenant on sidekiq
santiagoherrero May 20, 2022
d8ec254
Only validate associations if those are changing
adrian-gomez Aug 3, 2022
1e2c820
not to run sidekiq_spec unless sidekiq is installed
nunommc Jun 13, 2023
5c0599b
self pulls Sidekiq middleware if the gem has been loaded
nunommc Jun 13, 2023
7fce32f
Refactor test dependencies (#315)
excid3 Jun 15, 2023
c2e6a2a
Merge branch 'master' into sidekiq-autoload
excid3 Jun 15, 2023
34fd07e
Defer Sidekiq extension to after ActiveRecord loads
excid3 Jun 15, 2023
44a50e8
Merge branch 'master' of github.com:hinthealth/acts_as_tenant into hi…
excid3 Jun 19, 2023
23daba5
Add job_scope configuration
excid3 Jun 19, 2023
7146e9e
Merge branch 'hinthealth-master'
excid3 Jun 19, 2023
0dd17c4
Standardize
excid3 Jun 19, 2023
8752973
Mention acts_as_tenant-delayed_job in readme
excid3 Jun 21, 2023
d29185f
Update README.md with small dev console QoL suggestion (#322)
tvongaza Oct 5, 2023
0497b29
Replace RequestStore dependency with CurrentAttributes (#313)
excid3 Dec 6, 2023
69d2162
Disable legacy_connection_handling on Rails 6.1+ (#308)
HashNotAdam Dec 6, 2023
6ecf5d2
Add a new ActiveJobExtensions which hooks into the serialization and …
tvongaza Dec 7, 2023
02be9be
Revert legacy connection handling config for dummy app
excid3 Dec 7, 2023
6fd5edb
Update appraisals
excid3 Dec 7, 2023
44a5b7c
Drop Rails 5.2 support
excid3 Dec 7, 2023
1f5431e
Update gemfiles
excid3 Dec 7, 2023
4f936e2
Version bump
excid3 Dec 7, 2023
0c4130e
Update changelog
excid3 Dec 7, 2023
572469d
Add mailer preview example
excid3 Dec 7, 2023
5ef6d28
Serialize tenant to string instead of GlobalID (#326)
ziadsawalha Dec 13, 2023
8e8f9de
Version bump
excid3 Dec 14, 2023
599d8af
Add a tenant change hook (#333)
Winslett Jan 11, 2024
7e3bd8a
Update CHANGELOG.md
excid3 Jan 11, 2024
4228c9d
Add Mac m2 platform to gemfiles
trevorrjohn Jan 19, 2024
55a71aa
Support "has_many through" relationships
HashNotAdam Feb 15, 2023
782a692
Support manual creation of HABTM record
HashNotAdam Mar 29, 2023
90f40a2
Test with Ruby 3.3
trevorrjohn Jan 19, 2024
3d95733
Merge branch 'support_has_many_through' into support_has_many_through
trevorrjohn Jan 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disable legacy_connection_handling on Rails 6.1+ (ErwinM#308)
A new Active Record connection handler was added in Rails 6.1, however,
the old one remains the default for upgraded applications and throws
deprecation warnings under Rails 7
HashNotAdam authored Dec 6, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 69d216226fc904ae7c73ee3ddd74bb42b44968cb
4 changes: 4 additions & 0 deletions spec/dummy/config/application.rb
Original file line number Diff line number Diff line change
@@ -15,5 +15,9 @@ class Application < Rails::Application
if Rails.gem_version < Gem::Version.new("6.0") && config.active_record.sqlite3
config.active_record.sqlite3.represent_boolean_as_integer = true
end

if Rails.gem_version >= Gem::Version.new("6.1")
config.active_record.legacy_connection_handling = false
end
end
end