scumblr

https://github.com/netflix-skunkworks/scumblr

Ruby

Web framework that allows performing periodic syncs of data sources and performing analysis on the identified results

Task#perform_task

if self.new_record?
      calling_task.metadata["current_results"]["created"] << self.id
    else
      calling_task.metadata["current_results"]["updated"] << self.id
    end
    calling_task.save!
  end
end

Source | Google | Stack overflow

Edit

git clone [email protected]:netflix-skunkworks/scumblr.git

cd scumblr

open app/models/task.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Task-perform_task-for-pr


# Commit to git

git add app/models/task.rbgit commit -m "better docs for Task#perform_task"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Task-perform_task-for-pr

hub pull-request


# Celebrate!