ruby on rails - Why does DataMapper use mixins vs inheritance? -


That's why I'm only curious about:

Using a mixin for your model on the datamap

  class  
  class   

Lt; Does anyone know why the datamapper chose to do this (or why not chose AR)?

I think that ActiveRecord is a database supported aspect of the main feature of a model class Because it attains that behavior, the datamaker looks like the database is supported to become an aspect of a class that can be added to the class.

It is my guess that Yehuda Cats can tell you definitely.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -