How do you make a variable available to all views?

use the session. session[:myvariable] = ....