I'm want to use the ryanb/nested_form gem (or similar) to create associations with many different field types. Consider a model called content which might have many content_blocks that should have text inputs, text areas, or image upload fields (different field types) dependant on what is required. Anybody got an ideas on how to achieve this? So far I can only work out how to add multiple fields of the same type. i.e the standard project -> task -> subtask ... pattern.
Or is there a better solution?
Thanks! -J