In Ruby on Rails, how is view code able to use instance variables that are set inside the controller

Posted by Jian Lin on Stack Overflow See other posts from Stack Overflow or by Jian Lin
Published on 2010-06-16T21:45:55Z Indexed on 2010/06/16 21:52 UTC
Read the original article Hit count: 197

Filed under:
|
|

In Ruby on Rails, how is an ActionView object able to access the instance variables of ActionController object (how is view code able to use instance variables that are set inside the controller code)?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about mvc