rails conversion
initial commit