Remove rails version dependancy