remove hardcoded rails dependency