edit ruby model