Do you know any "semantic" rails gems for form generation w开发者_JS百科hich 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
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
simple_form works fine to me with Mongoid
精彩评论