Frames that support complex ala Rails' accepts_nested_attributes_for nested forms?

I am working on a small third-party project for a friend, and I need to dynamically build complex forms from a set of predefined types, which in turn are saved through the base object model.

So far I am using Rails 2.3.4, accepts_nested_attributes_for and a bit of Javascript .

There is nothing wrong with that, I just modified it to handle arbitrary nesting and ordering ... but, having worked on RoR over the past two years, it would be great to use this as an excuse to learn something new. That says I'm lazy, so it should be as simple as a RoR solution.

Suggestions? Bonus points for Lisp, schema or OCaml :-)

Thanks ... Mike

+3
source share
1 answer
+1
source

Source: https://habr.com/ru/post/1719794/


All Articles