Documentation: Compare with Virtus?
I've typically used Virtus for form objects and mimicking an ActiveModel API in general. On the surface, the two libraries appear to have similar goals.
I recommend adding a brief note to the readme that compares this library to Virtus. It would help casual passersby, like me, understand why they should spend time investigating. Of course, I'm assuming you want more Internet randos using your library and that you made specific design decisions to be different from Virtus. Neither may be true. :stuck_out_tongue:
Anyway, code looks clean from my brief skimming, but I don't really have any friction points with Virtus motivating me to seek out new solutions in this area. Cheers.
Well, frankly I didn't use Virtus, but as far as I understand it doesn't have this: https://github.com/pyromaniac/active_data/blob/master/lib/active_data/model/lifecycle.rb and this: https://github.com/pyromaniac/active_data/blob/master/lib/active_data/model/associations.rb and also it is unable to mount pseudo-models to activerecord as associations.
But you are right. I hope, I'll find some time to write documentation really soon.