removing rails dependency