Topic: SslRequirement.disable_ssl_check error undefined method?

I am working on an established project, and trying to turn of SSL in development. The following line in environments/development.rb generates an error.

  config.after_initialize do
    SslRequirement.disable_ssl_check = true

Error reads:

in `block (2 levels) in <top (required)>': undefined method `disable_ssl_check=' for SslRequirement:Module (NoMethodError)

Any pointers to this?
Searches have revealed little so far.

Thank you

Re: SslRequirement.disable_ssl_check error undefined method?

Where and how are you switching ssl on? If you are using force_ssl => true then you don't need to switch it off for development as this is automatic.

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)