rails plugin new handler

Change-Id: I222244727eca3c0efcc71033794a97915ba535d1