WorkerPlugins
Install
Add to your Gemfile and bundle:
gem 'worker_plugins'
Install migrations (only necessary sometimes - try running rails db:migrate
first before installing migrations):
rails worker_plugins:install:migrations
Usage
Add a lot of objects to a workspace through transactions:
users = User.where('id > 0')
workspace.add_links_to_objects(users)
Optimally loop over resources on a workspace:
workspace.each_resource(types: ['User']) do |user|
License
This project rocks and uses MIT-LICENSE.