Not sure if this exactly matches what you want to do, as it's hard to say from your example, but ...
class Generic < ActiveRecord::Base ... belongs_to :generable, polymorphic: true ... delegate :common_method, to: :generable, prefix: true end class Cat def common_method ... end end class Image def common_method ... end end
Lets you say the following:
generic.generable_common_method
source share