Prasad Gurjar wrote in post #1125841:
> For e.g How objects are called from controller to view ? what actions
> are performed in background?
The controller is given a template, either implicitly by the method name
or explicitly in the code.
The template may have multiple extensions, e.g. "template.html.erb".
These show the sequence in which the template is interpreted.
In the above example, the file is treated first as an eRuby file, and
interpreted - "rendered" - as such. Each line is interpreted in its
environment and any return values are left behind as HTML, forming the
document. This is where you'll normally have content from the model
appearing with objects provided by the controller or whatever constants
and variables are available.
The resulting HTML is sent to the client.