Skip to content

Instantly share code, notes, and snippets.

@rharriso
Last active November 18, 2019 08:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rharriso/24ab5a77333606e4b468 to your computer and use it in GitHub Desktop.
Save rharriso/24ab5a77333606e4b468 to your computer and use it in GitHub Desktop.
Paperclip processor for adding copyright info to uploaded files
#config/environments/production.rb
# add exif data to paperclip uploads
config.paperclip_defaults = {
processors: [:add_copyright_exif],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment