Backport of ActiveRecord::DelegatedType 6.1 to AR 5.x and 6.x. Delegate types is an alternative to single-table inheritance for representing class hierarchies.
Why do you think that https://github.com/activerecord-hackery/ransack is a good alternative to delegated_type