lib/base_properties.rb in active-orient-0.5 vs lib/base_properties.rb in active-orient-0.6

- old
+ new

@@ -52,12 +52,11 @@ end # Default attributes support def default_attributes - {:created_at => Time.now, - :updated_at => Time.now} + {:created_at => DateTime.now } end def set_attribute_defaults # :nodoc: default_attributes.each do |key, val| self.send("#{key}=", val) if self.send(key).nil? @@ -136,10 +135,10 @@ define_property_methods name, :set => body, :get => body end end unless defined?(ActiveRecord::Base) && ancestors.include?(ActiveRecord::Base) - prop :created_at, :updated_at + prop :created_at #, :updated_at end end # included end # module BaseProperties end