Log request type in Rails
I want to log the type of request (DDL, DML, etc.) while logging requests in Rails. I have performed query logging by patching ActiveSupport :: LogSubscriber. But failed to get the request type. Can anyone help me with this?
PS I am using Rails 4.
+3
M.Prabha karan
source
to share
No one has answered this question yet
Check out similar questions:
2568
1339
941
876
596
385
303
293
201
186