for multi model projects which have their own controllers and views plus forms for editing and adding objects, how do you incorporate two different models forms in one view
for example on a todo lists main hub (e.g. hub controller) index view you could have a form for "Add new project" and another one "Add a task" When the user clicks the submit button for one form it will go back to the hubs index controller with the input. How would you get that information to say the "Project" controller`s - "add" action. Do you order the post command to go directly to the project controller from the view, bypassing the hub index action OR do you go to the hub action index and redirect from there? If so how do i pass the forms params to the project controller as i believe the other controller cant see the values stored in params (it came up as nil for me when experimenting) I have googled for this and found things slighly related but which do not answer my question. If anyone could help that would be great! -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---

