I agree with Frederick.
Depending on what you need, using a session key/value or cookie may be
the appropriate way to maintain the data.
On May 5, 9:19 am, Frederick Cheung
<frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> On May 5, 2:50 pm, Nike Mike
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:>
how to declare a variable globally in views without writing in
> > controller,model or in config
> > --
>
> that doesn''t sound like a good idea. If you can elaborate on what
> you''re trying to do someone might be able to chip in with a neater
way
> of doing things.
>
> Fred
>
> > Posted viahttp://www.ruby-forum.com/.