From: hemant Date: 2007-07-14T05:15:46+09:00 Subject: Re: Class variable On 7/13/07, Travis D Warlick Jr wrote: > Mohamed Hussain wrote: > > Hai > > I have one question > > that Can i use class variable in Rails view? > > I don't understand your question -- What do you mean by "Rails view"? > > -- > Travis Warlick > Technically nothing prevents you from using a class variable in rails view and i guess your class variable should be available in view as well if you declare it with class FoobarController < ApplicationController cattr_accessor :bar_baz end