# File lib/dm-core/query.rb, line 102 def inheritance_property fields.detect { |property| property.type == DataMapper::Types::Discriminator } end