[Rails] Re: How Rails component works with each other in background?

2013-10-28 Thread Joel Pearson
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. "templat

[Rails] Re: How Rails component works with each other in background?

2013-10-28 Thread Joel Pearson
I suspect that a full answer to that question would necessitate the writing of several books. I don't fully understand what's going on in the background but I'll have a go at explaining my take on it. The Ruby interpreter creates a "runtime environment" in which to hold the objects. Since Rail