random sample gearbox rails 4 app.