Rails - How can I put the create/new action from one controller into the index of another controller?
<p>I am new. If this question has been asked before I sincerely apologize, I'm not that good at finding the words to come up with the search.</p>

<p>I have two controllers: games and predictions</p>

<p>Think of games as blog posts. When a new game is generated, I post them all to /games/ (which I made my index page for the whole site)</p>

<p>These games all have options on them with a form submit button at the bottom. Is there a way to make this submit button generate a new prediction from the predictions controller? I guess what I'm asking is can I render the predictions controller's create/new methods on the index of the games controller? Is it as simple as putting in the form_for action with all the fields in the index.html.erb file for the games view?</p>

<p>Thanks in advance. I'm sure I'm not the only one who's asked this so I will search through SO more extensively.</p>