Now the AR can instantiate the class according to the _type attribute

Just like ActiveRecord and Mongoid.

Example:

Product.find 1

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