I've lately began using DataMapper inside a couple of projects &lifier overall I believe its just fantastic. But I've got a question about utilizing a particular facet of it.
I understand when I've got a model by having an Enum property (
property :whatev, Enum[ :foo, :bar ]), I'm able to call
Model.whatev.options[:flag] &lifier return all the various possible values for that particular Enum. I'm wondering if anybody knows (or could point me within the right direction) if there's such like for that
Discriminator property type?
ie. it is possible to method to call that specific property &lifier get it return the different options