Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 993821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:29:01+00:00 2026-05-16T06:29:01+00:00

We use rails version 2.3.5 This error has been reported in SO here I

  • 0

We use rails version 2.3.5

This error has been reported in SO here

I tried the following:

  • adding config.cache_class = true – the problem with this was that, the server had to be restarted every time a change was made to any controller. Also the server start time was too long
  • adding unloadable to the middleware – no use
  • adding config.middleware.use [middleware] to development.rb – no use

Is there a way to overcome this other than making development similar to production?

Edit

even tried adding config.middleware.use [middleware] to environment.rb. Well this behaved totally different. My error disappeared, but my middleware cracked. All it’s objects were nil..!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T06:29:02+00:00Added an answer on May 16, 2026 at 6:29 am

    Found the answer.

     adding config.middleware.use [middleware] to environment.rb
    

    this was not working previously for me because i was initializing this middle ware inside session_store too. So the same middle ware was executed twice with the second time all params with nil – Hence the nil problem.

    Thank you rogerdpack for trying to help.!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried starting my Rails application but got this error message from Passenger: Ruby
I want to use the last version of rails, in my Gemfile: gem 'rails',
Short and sweet, Is it ok to use (current version) Ruby 1.9.1 with Rails
All this weekend I have been trying to setup a Rails 3.0.4 app in
I've installed RoR in my MacOS X using this guide http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ Here my versions:
I'm following a Rails Tutorial at RailsTutorial.org. When Trying to use rake to migrate
This question is already here: Why doesn't Rails' "errors.full_messages" replace attribute and message variables?
I keep getting this error on heroku....here is my gemfile...what do i do source
I have a Rails app that has been running fine for months. The other
I am in an older Rails project that has a Gemfile. I tried to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.