removing rails specific code