lib/neo4j/active_node/property.rb in neo4j-3.0.0.alpha.2 vs lib/neo4j/active_node/property.rb in neo4j-3.0.0.alpha.3

- old
+ new

@@ -21,9 +21,11 @@ module ClassMethods def property(name, options={}) + # Magic properties + options[:type] = DateTime if name.to_sym == :created_at || name.to_sym == :updated_at attribute(name, options) end def attribute!(name, options={}) super(name, options)