Remove rails dependancy