paperclip

https://github.com/thoughtbot/paperclip

Ruby

Easy file attachment management for ActiveRecord

Paperclip.get_registered_attachments_styles

Get list of styles saved on previous deploy (running rake paperclip:refresh:missing_styles)

Source | Google | Stack overflow

Edit

git clone [email protected]:thoughtbot/paperclip.git

cd paperclip

open lib/paperclip/missing_attachment_styles.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Paperclip-get_registered_attachments_styles-for-pr


# Commit to git

git add lib/paperclip/missing_attachment_styles.rbgit commit -m "better docs for Paperclip.get_registered_attachments_styles"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Paperclip-get_registered_attachments_styles-for-pr

hub pull-request


# Celebrate!