conv to rails naming convention