Skip to content
Paperclip demo application
Ruby HTML CSS JavaScript
Find file
New pull request
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Paperclip Demo

Reference Application

Demo Ruby on Rails application allows users to manage a list of “friends” using a basic Rails scaffold. Each friend will have a Name and Avatar. Paperclip will provide the image upload and resizing functionality. The app will demonstrate how to create different sized thumbnails, display resized images on different screens, and gracefully degrade to display “missing_avatar.png” for friends without an avatar.

Install Codebase

Clone the git repository

$ git clone
$ cd paperclip_demo
$ bundle

Run Application

$ rails s

View Application

From a web browser access the site via localhost:3000

Deploy the application to Heroku

Create an application container on Heroku

$ heroku create

Push the code to the Heroku container

$ git push heroku master

Run any database migrations

$ heroku rake db:migrate

Restart the dynos if migrations were run

$ heroku restart
Something went wrong with that request. Please try again.