Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Creating instances of a STI model with unloadable :type should error? #203
class Model include DataMapper::Resource property :type, Discriminator end
Suppose that someone is intending to use strings here for classes that don't exist. In this case, it would be better to use a string property to represent that. But if you're using Discriminator, you probably intend to reload the instance at some point.