# Cheet shet or overview of visibility between modal, views, a

**URL:** <https://www.ruby-forum.com/t/cheet-shet-or-overview-of-visibility-between-modal-views-a/97382>\
**Category:** Rails\
**Created:** [July 6, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/cheet-shet-or-overview-of-visibility-between-modal-views-a/97382 "2006-07-06T19:15:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@richard](https://www.ruby-forum.com/u/richard)\
**Post date:** [July 6, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/cheet-shet-or-overview-of-visibility-between-modal-views-a/97382/1 "2006-07-06T19:15:34Z")

</div>

Where is an overview of who can see what and how ?

session[] and params[] seem to be global, but what about instance  
variables of the controller? The views seem to be able to see (and  
modify) them.

components seems to be able to set instance variables that their  
controllers can see; likewise partials can set values that the template  
and layout can see.

I’m getting all the Rails books I can, so a page reference to one of  
them will suffice.

Cheers
