views:

26

answers:

1

I am fairly new to Rails, but I am pretty experienced with Ruby. Can somebody tell me how Rails makes instance variables from a controller available to views. How did the Rails team go about implementing this?

A: 

It would take a lot of digging through the rails source to figure it out for sure, but I believe it's mostly done using the standard Ruby 'binding' stuff.

thenduks
Ok thanks that was the kind of general answer I was looking for.
agentbanks217