Rails log parser