Forum: Ruby on Rails Problem with ssl_requirement

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3707954bc1567f892d087c3189a0a8fc?d=identicon&s=25 Peter (Guest)
on 2009-01-31 12:50
(Received via mailing list)
Hello,

I am trying to enable SSL for my rails app. I have installed the
ssl_requirements plugin and added "include SslRequirement" in the
application controller. Then I restart the server and access the home
page.

Then I am getting this error:

NameError in ProjectsController#index
uninitialized constant SslRequirement::UserSystem

I have searched for this error, no luck. I notice that the plugin is
correctly installed in the vendors directory. As soon as I remove the
line “include SslRequirement”, my site works again.

What am I doing wrong??

Thanks again!
F5ff02621d22fedabedbb19f66b0a696?d=identicon&s=25 NoJ (Guest)
on 2009-02-01 23:55
(Received via mailing list)
Hi Peter,

the reason for this might be that you are using an outdated version of
ssl_requirement, read more at:

http://blog.janus.cx/archives/270-SOLVED-uninitial...

cheers
NoJ
F5ff02621d22fedabedbb19f66b0a696?d=identicon&s=25 NoJ (Guest)
on 2009-02-01 23:55
(Received via mailing list)
Hi Peter,

you might be using an outdated version of the plugin, read more here.

http://blog.janus.cx/archives/270-SOLVED-uninitial...

Cheers
NoJ
This topic is locked and can not be replied to.