Remove rails specific stuff