Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Bulk updates to ActiveRecord models.
Ruby HTML JavaScript CSS
Tag: v0.8.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
lib
script
spec
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
bulky.gemspec

README.md

Bulky

Installation

In your Gemfile

  gem 'bulky', github: 'adamhunter/bulky'

Then in your shell prompt

  bundle
  rake bulky_engine:install:migrations
  rake db:migrate
  rake bulky:work # (starts the resque worker for bulky)

Usage

Application Add a form in app/views/bulky/updates/edit.html.haml to override the one provided.

Command Line

  #                    model,   ids,     arguments for update_attributes!
  Bulky.enqueue_update(Account, [10,25], {"contact" => "Yes, please."})

This will enqueue the Bulky::Updater to update each account when the job is processed by Resque

Something went wrong with that request. Please try again.