Neo4j.rb v6.1.0 Release Notes

Release Date: 2016-01-01 // over 8 years ago
  • ๐Ÿ”„ Changed

    • When a model_class is specified on an association which is not an ActiveNode model, an error is raised
    • The model_class option on associations can no longer be a Class constant (should be a String, Symbol, nil, false, or an Array of Symbols/Strings)
    • The rel_class option on associations can no longer be a Class constant (should be a String, Symbol, or nil)
    • The from_class and to_class arguments can no longer be a Class constant (should be a String, Symbol, :any, or false)
    • ActiveNode and ActiveRel models can now be marshaled (thanks to jhoffner for the suggestion in #1093)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘€ Inheritance of properties in ActiveRel is fixed (see #1080)

    โž• Added

    • config/neo4j.yml now renders with an ERB step (thanks to mrstif via #1060)
    • #increment, #increment! and #concurrent_increment! methods added to instances of ActiveNode and ActiveRel (thanks to ProGM in #1074)