[#<ActionController::Filters::ClassMethods::SymbolFilter:0x32678a4
@filter=:ensure_proper_protocol>] returned false.
Completed in 0.00010 (10000 reqs/sec) | DB: 0.00000 (0%) | 302 Found
[http://localhost/nephrology]
Anyway can help me out?
That part is an expected response… it saw that you didn’t request
with
the right protocol, and redirected you to the proper page (thus the 302
status code… that means redirect). Is your browser not going there?
What
is the specific problem?
–
-Eric Price
“The greatest error in the history of searching for meaning is assuming
that
it is found outside one’s self.”
ssl_required :login
Filter chain halted as
[#<ActionController::Filters::ClassMethods::SymbolFilter:0x32678a4
@filter=:ensure_proper_protocol>] returned false.
Completed in 0.00010 (10000 reqs/sec) | DB: 0.00000 (0%) | 302 Found
[http://localhost/nephrology]
Anyway can help me out?
It’s doing exactly what it should - redirecting through https because
the original request was http. For testing purposes you might want to
override the ssl_required? method to not bother redirecting unless in
production.
I read somewhere that I should run another instance of webrick, on a
https port, is this correct?
No. You need to run a separate web server to handle the SSL requests.
It will then forward all requests to your Webrick or Mongrel instances.
See Building
Web Apps for a pretty good tutorial.