Forms from multiple controllers into 1view?
I have 3 controllers: models_controller
, portfolios_controller
and contacts_controller
Rather than going to separate pages to fill in these forms, I'd like to display all of the forms in a single view and fill in all of the data at once.
What is the easiest way to achieve this according to the current best practice开发者_运维百科s?
Check these out
- Two controllers for one shared view in Ruby on Rails
- Using multiple controllers in one view in Rails
- Rails, same view, different controllers
精彩评论