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, as the recipe suggests. 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??