Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Compare with Virtus? #21

Open
Alric opened this issue Dec 12, 2015 · 1 comment
Open

Documentation: Compare with Virtus? #21

Alric opened this issue Dec 12, 2015 · 1 comment

Comments

@Alric
Copy link

Alric commented Dec 12, 2015

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. 😛

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.

@pyromaniac
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants