search for: _copy_ivars_from_controller

Displaying 1 result from an estimated 1 matches for "_copy_ivars_from_controller".

2009 Mar 22
5
How does view know about instance vars set in controller?
Hi, I know that the AWDWR says to believe in magic and to not spend Xmas with people asking this question, but really how does it work under the hood? I was looking at the source code of crummy, and it seems that instance_variable_set and instance_variable_get may be part of the answer. Is there some resource on that or do I have to dive into Rails code? -- Posted via