[Rails] @request cycle variables

Beau O'Hara bohara at anstarproducts.com
Tue Mar 1 15:42:58 GMT 2005


Both of those worked perfectly.  Thanks

Beau 

-----Original Message-----
From: rails-bounces at lists.rubyonrails.org
[mailto:rails-bounces at lists.rubyonrails.org] On Behalf Of Tobias Luetke
Sent: Tuesday, March 01, 2005 9:25 AM
To: rails at lists.rubyonrails.org
Subject: Re: [Rails] @request cycle variables

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
_______________________________________________
Rails mailing list
Rails at lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails


More information about the Rails mailing list