switch rails to submodule