Combine nested_attributes and class_table_inheritance? #2282
rolftimmermans
started this conversation in
General
Replies: 2 comments 2 replies
-
I try to avoid such optional dependencies between plugins, though I'm not always successful. One way to avoid such an optional dependency in this case is to extract the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Right, in this case the behaviour is dependent on the attributes though, so then
And the referenced line would become:
Is that what you mean? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it would be nice to allow
nested_attributes
in combination withclass_table_inheritance
. Currently these two plugins don't work together.It seems that changing this line should work?
sequel/lib/sequel/plugins/nested_attributes.rb
Line 194 in 767133e
Replacing:
with:
What do you think? Is this something worth supporting?
Beta Was this translation helpful? Give feedback.
All reactions