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.
No one has answered this question yet
Check out similar questions: