What is the best way to add a logger for all the ActiveResource in rails
?
In my application i have some methods which call the API through ActiveResource
which sometimes gives TimeOut error.
So, i just want to log the url
, method(get/post)
and some url related stuff in logger for which it gives the TimeOut or any other Error.