Stackreduce Rails Gem

Stackreduce gem its a Rails API Wrapper for A simple solutions for pushing your data from your rails app


You can view the Stackreduce documentation in RDoc format here:

Issue tracker

Getting started

Add it to your Gemfile:

gem 'stackreduce'

And then execute:

$ bundle

Or install it yourself as:

$ gem install stackreduce

Create a config file

From console run the generator:

$ rails g stackreduce:config

It will create a config file under your


Edit your config file and add your applications id and token:

Stackreduce.configure do |config|
  config.app_id = "YOUR_APP_ID"
  config.token = "YOUR_APP_TOKEN"


Push a new stack:

Stackreduce.push User.all       

or create a stack with a name:

Stackreduce.push User.all, :name => "My awesome stack"

Tested with

Rails 4.0.0
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin12.3.0]


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request



MIT License Copyright (c) 2013