Is there any sort of dynamic finder for polymorphic associations?
For example if I had:
class InviteNode < ActiveRecord::Base
belongs_to :inviteable, :polymorphic => true
I would like to be able to search by:
instead of having to do:
obviously I could write my own, but am I missing something? Is there a
Rails doesn’t provide something like this for you?