lib/neo4j/shared/property.rb in neo4j-9.6.2 vs lib/neo4j/shared/property.rb in neo4j-10.0.0.pre.alpha.1
- old
+ new
@@ -78,10 +78,10 @@
writer_method_props[key] = attributes.delete(key) if self.respond_to?("#{key}=")
end
end
end
- DATE_KEY_REGEX = /\A([^\(]+)\((\d+)([if])\)$/
+ DATE_KEY_REGEX = /\A([^\(]+)\((\d+)([ifs])\)$/
# Gives support for Rails date_select, datetime_select, time_select helpers.
def process_attributes(attributes = nil)
return attributes if attributes.blank?
multi_parameter_attributes = {}
new_attributes = {}