cache_classes
Opened this issue · 0 comments
I has some code that looks up roadspeed from navteq and after 1st request I get the following.
ArgumentError (A copy of Map24RoutingService has been removed from the module tree but is still active!):
app/models/map24_routing_service.rb:130:in parse_linkinfo_response' app/models/map24_routing_service.rb:125:in
map app/models/map24_routing_service.rb:125:in
parse_linkinfo_response'
app/models/map24_routing_service.rb:100:in link_info' handsoap (1.1.8) lib/handsoap/service.rb:189:in
send'
handsoap (1.1.8) lib/handsoap/service.rb:189:in method_missing' app/controllers/navteq_controller.rb:12:in
get_link_info'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.13.4/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:254:in perform_action' /usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.13.4/lib/new_relic/agent/method_tracer.rb:141:in
trace_execution_scoped'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.13.4/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:247:in perform_action' /usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.13.4/lib/new_relic/rack/developer_mode.rb:20:in
call'
/usr/lib/ruby/gems/1.8/gems/newrelic_rpm-2.13.4/lib/new_relic/rack/developer_mode.rb:20:in call' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in
service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /usr/lib/ruby/1.8/webrick/server.rb:173:in
start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in start' /usr/lib/ruby/1.8/webrick/server.rb:162:in
start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/lib/ruby/1.8/webrick/server.rb:92:in
each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in start' /usr/lib/ruby/1.8/webrick/server.rb:23:in
start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
I set cache_classes to true and it made the error go away, but I was wondering if something was not being cleaned up after a request.