Session variable nil in benchmarking environment

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:


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!

I encountered the same problem. Anyone have some idea?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs