Rendering views for models with a defined relationship to the current controller's models


I need some guidance on how to call views within a controller for models that have a relationship defined with the current controllers model.

For some reason, my post is getting caught in the spam filter although it has no external link and I can’t figure out what my be the spam words that are preventing my post from going through.

I’m attaching a text file with the content of my question.

Thank you in advance for your guidance.


the redirection process is not related to "model" …

Hi Rajith,

Thanks for your response, but I am not quite sure where “redirections” are involved in the situation I’m describing.

In my case, I am concerned about calling renderPartial within a model’s view to display _view and _form views associated with another model.