lib/neo4j/config.rb in neo4j-5.2.0 vs lib/neo4j/config.rb in neo4j-5.2.1
- old
+ new
@@ -9,11 +9,11 @@
class << self
# In keeping with the Rails convention, this class writer lets you globally configure
# the incluse of timestamps on your nodes and rels. It defaults to false, requiring manual
# timestamp inclusion.
# @return [Boolean] the true/false value specified.
- attr_writer :record_timestamps
+
# @return [Fixnum] The location of the default configuration file.
def default_file
@default_file ||= DEFAULT_FILE
end
@@ -92,15 +92,9 @@
end
# @return [String] The config as a YAML
def to_yaml
configuration.to_yaml
- end
-
- # @return [Boolean] The value of the config variable for including
- # timestamps on all models.
- def record_timestamps
- @record_timestamps ||= false
end
def class_name_property
@_class_name_property = Neo4j::Config[CLASS_NAME_PROPERTY_KEY] || :_classname
end