lib/nelumba-mongodb/feed.rb
def merge!(feed)
      # Merge metadata
      meta_data = feed.to_hash
      meta_data.delete :items
      meta_data.delete :authors
      meta_data.delete :contributors
      meta_data.delete :uid
      self.update_attributes!(meta_data)

      # Merge new/updated authors
      feed.authors.each do |author|
      end

      # Merge new/updated contributors
      feed.contributors.each do |author|
      end

      # Merge new/updated activities
      feed.items.each do |activity|
      end
    end
# Merges the information in the given feed with this one.
Merges the information in the given feed with this one.
Merges the information in the given feed with this one .
def merge!(feed)
      meta_data = feed.to_hash
      meta_data.delete :items
      meta_data.delete :authors
      meta_data.delete :contributors
      meta_data.delete :uid
      self.update_attributes!(meta_data)
      feed.authors.each do |author|
      end
      feed.contributors.each do |author|
      end
      feed.items.each do |activity|
      end
    end
def merge! ( feed ) meta_data = feed . to_hash meta_data . delete :items meta_data . delete :authors meta_data . delete :contributors meta_data . delete :uid self . update_attributes! ( meta_data ) feed . authors . each do | author | end feed . contributors . each do | author | end feed . items . each do | activity | end end
Merges the information in the given feed with this one.
Merges the information in the given feed with this one .
# Merge metadata # Merge new/updated authors # Merge new/updated contributors # Merge new/updated activities
feed