-
Notifications
You must be signed in to change notification settings - Fork 100
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
update logic inside the tenant_klass_defined? method #202
update logic inside the tenant_klass_defined? method #202
Conversation
@microsoft-github-policy-service agree |
Codecov Report
@@ Coverage Diff @@
## master #202 +/- ##
==========================================
+ Coverage 82.61% 82.68% +0.07%
==========================================
Files 14 14
Lines 719 722 +3
==========================================
+ Hits 594 597 +3
Misses 125 125
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Great solution @msasaki666 . The solution is like a charm. Thanks in advance for your great effort to make activerecord-multi-tenant better |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Sure. |
@gurkanindibay |
Thanks @msasaki666 module MyModule
class Tenant < ApplicationRecord; end
class Foo < ApplicationRecord
multi_tenant :tenant
end
end |
@gurkanindibay |
Thanks @msasaki666 now code is in master branch. Thank you for all of your efforts |
I think
options[:class_name]
should also be a determining factor intenant_klass_defined?
method.I think the following issue is related.
#105