multi model form

hi, can someone advice how can I create a form with fileds from different models. also how to get the different models (objects) saved. thank you dani

There may be other ways, but I use nested attributes. This is easiest when you have a model that logically contains one or more of another, like if a Decision has a bunch of Factors and Alternatives and Ratings... as in:

  http://TheDecider.herokuapp.com/

for which the code is at:

  https://github.com/davearonson/thedecider/

Enjoy!

-Dave