On Wed, Apr 11, 2012 at 17:41, Dani Dani <[email protected]> wrote:
> can someone advice how can I create a form with fileds from different > models. > also how to get the different models (objects) saved. 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 -- Dave Aronson: Available Cleared Ruby on Rails Freelancer (NoVa/DC/Remote) -- see www.DaveAronson.com, and blogs at www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

