You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
schema_associations currently monkey-patches ActiveRecord::Base, using a bunch of alias_method_chain calls.
Instead, ideally schema_plus_core would provide a middleware stack for the relevant methods (reflect_on_association and friends), and schema_associations would then be middleware.
The text was updated successfully, but these errors were encountered:
I've partly done this. Schema_associations now uses schema_monkey rather than manually patching, and the alias_method_chain calls are now replaced with method overrides and super.
Still WBN to add the appropriate middleware stacks to schema_plus_core and replace the method overrides with middleware. So keeping this issue open for now.
schema_associations
currently monkey-patchesActiveRecord::Base
, using a bunch ofalias_method_chain
calls.Instead, ideally
schema_plus_core
would provide a middleware stack for the relevant methods (reflect_on_association
and friends), andschema_associations
would then be middleware.The text was updated successfully, but these errors were encountered: