Tim Heighes
Tim Heighes
I have extracted code from my actual implementation to create this JSFiddle to illustrate the problem: http://jsfiddle.net/sauy7/MEGu6/14/ It's a little messy but hopefully understandable enough. When I run this fiddle...
Adding this issue in case others trip over this... I use rubocop to verify my code style. One of the style rules is that gems should be listed in alphabetical...
As per discussion in issue #284. I've been running this version in production for a while.
Not every file upload is an image so height and width are not always relevant: lib/paperdragon/file.rb def default_metadata_for(job) {:width => job.width, :height => job.height, :uid => uid}#, :content_type => job.mime_type}...
From Dragonfly docs: Retaining across form redisplays When a model fails validation, you don't normally want to have to upload your attachment again, so you can avoid having to do...