lib/safubot/known_user.rb in safubot-0.0.1 vs lib/safubot/known_user.rb in safubot-0.0.2
- old
+ new
@@ -5,9 +5,11 @@
include MongoMapper::Document
safe
many :requests, :as => "user", :class_name => "Safubot::Request"
+ timestamps!
+
# Combines the service-specific identities of two users to
# form a cohesive picture of an individual.
def merge(user)
self.keys.keys.each do |key|
Log.info "#{key.inspect} #{self[key].inspect} #{user[key].inspect}"