title: rails cucumber request is null - undefined method `session_options' for nil:NilClass (NoMethodError)
body: <p>Hi we have made a module for a controller and that module uses the <code>session_id</code> to store some information.</p>
  
  <p>It works well when we run it.</p>
  
  <p>When running cucumber it seams like the request is null.</p>
  
  <blockquote>
    <p>undefined method `session_options' for nil:NilClass (NoMethodError)</p>
  </blockquote>
  
  <p>here is what we do in the module</p>
  
  <pre><code>request.session_options[:id]
  </code></pre>
  
  <p>We are trying to avoid mocking the request since we have logic based on information like <code>request.remote_ip</code> and <code>request.session_options[:id]</code></p>
  
  <p>Tried with cookies and the same issue comes up.
  cookies is always nil, is this a limitation of cucumber?</p>