cypher transaction node class and changes for rails