Fixed rails path error