Hi Team,
We've custom sub class inheriting PublicActivity::Activity, where we've some custom methods defined something like as below
class CustomActivityLog < PublicActivity::Activity
# some custom methods here
end
and we've been using PublicActivity::Activity indirectly via CustomActivityLog. And, we've been creating/updating activities using CustomActivityLog.
But, after upgrading to Rails 7.1.3, we've started getting below errors while using CustomActivityLog
ActiveRecord::ConnectionNotEstablished:
No connection pool for 'CustomActivityLog' found for the '#<Role:0x000000012bf15b40>' role.
We're bound to continue using CustomActivityLog instead of changing our codebase to use PublicActivity::Activity as our codebase grew bigger over time.
Thanks in advance and any help would be really appreciated.
Thanks,
Mukul