Displaying 3 results from an estimated 3 matches for "op4kynuxwzrtk0ed69bpr1lh4cv8".
2005 Mar 01
2
@request cycle variables
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
2005 Mar 03
1
session variables
I was wondering, how you access the values of session variables. for
instance the variable "name" exists in the session dump under the object
user. I was trying something like this:
<%= @params[user.name] %>
<%= @sesssion[user.name] %>
Beau
2005 Dec 02
0
RE: How to test for controller
...Original Message-----
From: Rick Olson [mailto:technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Friday, December 02, 2005 10:55 AM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails] How to test for controller
On 12/2/05, Beau O''Hara <bohara-Ani+Op4kYNUXWzRTk0ed69BPR1lH4CV8@public.gmane.org> wrote:
> I have a side navigation that i want to change based on the
controller.
> How would i test for this in .rhtml. for example lets say i have an
> admin controller.
>
> Example
> --------------------
> <% if @controller = admin %> ---- What act...