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
I'm interested in displaying the subclasses defined for my STI models.
For example I'd like to show a relationship that User -> Event but if the Event class is STI I want to display those types
For example maybe my Event entity display is slightly different and lists the descendant classes with something like
I haven't identified the dot syntax that I'd want yet but I'm also not sure how to work on creating a PR for this.
My impression is that I might need a special Attribute object that might apply to :type columns from ActiveRecord models.
I would love some direction on how to provide that as an option in this gem or (if that's not desirable) how to inject that feature so that I could make that happen for my needs.
The text was updated successfully, but these errors were encountered:
I'm interested in displaying the subclasses defined for my STI models.
For example I'd like to show a relationship that User -> Event but if the Event class is STI I want to display those types
For example maybe my Event entity display is slightly different and lists the descendant classes with something like
I haven't identified the
dot
syntax that I'd want yet but I'm also not sure how to work on creating a PR for this.My impression is that I might need a special
Attribute
object that might apply to:type
columns from ActiveRecord models.I would love some direction on how to provide that as an option in this gem or (if that's not desirable) how to inject that feature so that I could make that happen for my needs.
The text was updated successfully, but these errors were encountered: