Skip to content
Discussion options

You must be logged in to vote

@ShaheedHaque You can avoid using the polymorphic_ctype by using the Class object of the model instead. In version 5 polymorphic_ctype is going away so using the Class as an enumeration is the best bet. The example added in #749 shows how to use the model label instead of the ctype id.

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ShaheedHaque
Comment options

You must be logged in to vote
1 reply
@bckohan
Comment options

Comment options

You must be logged in to vote
1 reply
@bckohan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #346 on January 07, 2026 03:42.