Cristi P
Cristi P

Reputation: 6221

Formtastic alternative that works well with mongoid

Do you know any "semantic" rails gems for form generation which integrates well with the mongoid gem ? By integration I mean, correct automatic association based on the rules in the models (referenced_in, references_many).

I tried simple_form but it seems to fail ...

Cheers

Upvotes: 3

Views: 2369

Answers (2)

bowsersenior
bowsersenior

Reputation: 12574

Formtastic works OK with some tinkering, although not everything will be automatic. I've got a small tutorial app showing some of the things you have to do to get Formtastic to work with Mongoid:

http://github.com/bowsersenior/formtastic_with_mongoid_tutorial

Upvotes: 4

shingara
shingara

Reputation: 46914

simple_form works fine to me with Mongoid

Upvotes: 1

Related Questions