Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby on Rails library for Chute

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 chute.gemspec
README.md

Chute Integration for Rails apps

    [ wip ]

Installation

  1. git clone git@github.com:chute/chute-rails.git
  2. Add gem 'chute', :path => 'GEM_DIR' to Gemfile
  3. bundle install
  4. rails generate chute:install
  5. rake db:migrate
  6. Edit config/initializers/chute.rb with API credentials.
  7. Start rails server

Usage

This gem provides the following association methods on your ActiveRecord models

 1. has_asset
 2. has_chute
 3. has_chute_collection

 class User < ActiveRecord::Base
   has_asset :avatar_image

   has_chute :profile_photos
   has_chute_collection :albums
 end
Something went wrong with that request. Please try again.