This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Description
I am getting
TypeError - can't convert String into an exact number
when using the middleware, it would seem that this method:
def rendering_timed_out?
Time.now - @request.session["phantom-rendering"][render_to] > @options[:request_timeout]
end
is the culprit.
@request.session["phantom-rendering"][render_to] is returning a string, and not a Time object, resulting in this error. I monkey-patched it on my end to convert .to_time so that this would not break.