views:

104

answers:

0

For an answer model I want to save different types of answer (e.g.decimal, string, text, ...) in different tables. Polymorphic seems the way to go, but how can I receive the users answers from a nested form using fields_for? I now in advance, what type is asked for, but how do I tell in the controller in which table the answer should be saved?