gem install activeupdate
currently, the following is also required to be bundled:
gem 'arel', github: 'rails/arel', branch: 'master'
# Updating multiple records
resources= {
0 => { 'attribute' => 'test' },
1 => { 'attribute' => 'cheese' }
}
Model.update!(resources.keys, resources.values)
You can view the activeupdate documentation in YARDoc format here.
with inspiration courtesy of @danieljacobarcher