railsgsoc / actionform

Create nested forms with ease.
MIT License
293 stars 35 forks source link

Fixtures under Mongoid #15

Open kirs opened 10 years ago

kirs commented 10 years ago

As I mentioned in #14, we would like to support other ORMs than ActiveRecord. For instance, our test suite is using fixtures now and there may be a problem with Mongoid.

I started writing implementation of fixtures for Mongoid, but maybe we can switch to FactoryGirl or something else?

kirs commented 10 years ago

/cc @m-Peter

m-Peter commented 9 years ago

Haven't tried FactoryGirl for fixtures, but we can give it a shot.

kaspth commented 9 years ago

No. Rails and related libraries only use minitest and fixtures.

By the way, I think this is getting ahead of ourselves. Active Form is still about exploring an API for form models.

kirs commented 9 years ago

@kaspth there is still no Mongoid fixtures implementation. Should we work on it?

kaspth commented 9 years ago

I don't know what you mean by that. Are you saying Mongoid doesn't support fixtures?

kirs commented 9 years ago

Yep, that's what I'm saying.

kaspth commented 9 years ago

I see. Instead of having us explicitly support Mongoid we need to find an API that Mongoid (and everyone else) can use to integrate with us.

Kasper

Den 28/11/2014 kl. 19.10 skrev Kir Shatrov notifications@github.com:

Yep, that's what I'm saying.

— Reply to this email directly or view it on GitHub.