fix create method in rails