I encountered the same problem. Anyone have some idea?
On 1/26/07, Fernando Blat
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
> Hi!
>
> I have installed RailsBench 0.9.1 in my rails app in order to test its
> performance, but, I have a curious problem when trying to access to the
> session hash variable, because it''s nil all the time. The error is
this:
>
> ActionView::TemplateError (undefined method `[]'' for nil:NilClass)
on
> line #1 of public/views/labels/crear-blog.rhtml:
> 1: <% unless session[''user''] %>
> 2:
> 3: <div id="crear-blog"><a
href="/login/step1"><img
> src="imag/ed/promo_crea_tu_blog.png" /></a></div>
> 4:
>
> I don''t use any special configuration for managing sessions
(PStore) nor
> any special config variable. The database is the same that the
> development environment.
>
> I have deleted too all the session files in /tmp.
>
> Any clue? Thanks!
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---