Skip to content

bjedrocha/avatar-magick-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample Rails application showing how to use the avatar_magick plugin to generate initial avatars. Please see this blog post for more information.

Running the application

Clone the repo. Run bundle install to install required gems. Run rake db:setup to create a default user account and to seed a couple of contacts. Run with rails s. The default user account and password is tdurden / password.

Branches

There are 3 branches in this project. The master branch shows the simplest use case of just generating initial avatars. The dragonfly-attachments branch shows how to handle image attachments using Dragonfly while defaulting to initial avatars. Finally, the paperclip-attachments branch is similar but uses paperclip to handle image attachments.

Note

You must run rake db:reset when switching branches as the schema for dragonfly attachments is different than the schema for paperclip-attachments.

About

Example Rails application showing how to use https://github.com/bjedrocha/avatar_magick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published