ruby on rails parser