Now the active record can instantiate the right class according to the _type attribute
Just like ActiveRecord and Mongoid.

Example:

Product.find 1

#<Medicine
 @attributes=
  {"_id"=>"5127cf107099eab6cc000004",
   "_type"=>"Medicine",
...