in a particular point inside of that render I would like to call a
method that I generally call by
GET myapp/news
allow that method to render and put it into my combined output.
in other words something that might be better suited to an Ajax
request or an Iframe but currently I would like it to execute in one
single request.
To retrieve the rendered data from my second method would I have to
do it as a HTTP GET? or is there some other Rails way.
If there is some other Rails way how should I structure it so I can
pass in a parameter to the method that is normally passed via the
querystring?
You can also pass local variables into partials, making them even more powerful and flexible. For example, you can use this technique to reduce duplication between new and edit pages, while still keeping a bit
of distinct content: