loosened rails dependency