Log requests and events in rails