Formtastic alternative that works well with mongoid
-
26-09-2019 - |
Question
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
Solution
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
OTHER TIPS
simple_form works fine to me with Mongoid
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow