mirror of https://github.com/docusealco/docuseal
fix: remove stale has_many_inversing config for Rails 8.1.3 compatibility (#9)
Rails 8.1.3 removed the has_many_inversing= setter on ActiveRecord::Base
(the feature is now permanently enabled). However, the ActiveRecord railtie
still sets config.active_record.has_many_inversing and tries to apply it
via ActiveRecord::Base.send('has_many_inversing=', v), causing:
NoMethodError: undefined method 'has_many_inversing=' for class ActiveRecord::Base
Fix: delete the key from config.active_record after load_defaults so the
railtie never tries to apply the removed setter.
Co-authored-by: Bob Develop <developbob50@gmail.com>
pull/639/head
parent
0298c2122b
commit
f7a35364d1
Loading…
Reference in new issue