[Rails] @request cycle variables
Tobias Luetke
tobias.luetke at gmail.com
Tue Mar 1 15:24:51 GMT 2005
I think you mean @params['controller']. However a much better idea is
to use controller.controller_name from your view/helper
On Tue, 1 Mar 2005 09:20:56 -0600, Beau O'Hara
<bohara at anstarproducts.com> wrote:
>
> I posted something about this yesterday, and got some good responses but it
> seems that the variable @request['controller'] isn't being passed in to the
> page or isn't being read. Has the naming convention for these variables
> changed. it worked great in all rails versions up to 0.9.5 with fcgi, but
> is not working in rails 0.10.0 with fcgi. I am currently just trying to get
> it to print the value like this <%= @request['controller'] %>
>
> any help is appreciated,
> Beau
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
--
Tobi
http://www.snowdevil.ca - Snowboards that don't suck
http://www.hieraki.org - Open source book authoring
http://blog.leetsoft.com - Technical weblog
More information about the Rails
mailing list