I am doing an integration with commission junction using SOAP to get the
result. It is working fine for me. My problem is I have to add the
pagination so I have used will_paginate for pagination. For each page I
am doing a call to commission junction and getting the result which make
a performance bottleneck for my application. To solve this I have
decided to store the response in session and when the request for
another page comes I will show the result from session instead of
Problem is whenever I am trying to dump the response in session I
getting an error
“singleton can’t be dumped in rails session”.
It seems that SOAP object is instance of singleton class and due to that
it is not allowing to dump it.
Is there any other way to solve this?