- 16 Jul, 2013 8 commits
-
-
Jon Yurek committed
-
Return the default path when the attachment has no remote file
Adam Milligan committed -
Better CodeClimate badge (shows GPA)
Jon Yurek committed -
Using the ActiveRecord validations is smart in order to lessen load on the project to develop our own validators, but it's problematic in that calling `valid?` on the record fires off all the other validations -- including those on fields which may not be set yet because of mass-assignment. This commit will "pre-validate" the attachment's fields so that it doesn't process an invalid attachment, but it does so by running its validations manually on assignment.
Jon Yurek committed -
Johnny Shields committed
-
Refactor Paperclip::Attachment to eliminate code duplication between #extra_options_for and #extra_source_file_options_for
Zachary Friedman committed -
This commit makes this method move by default instead of copying, which should make it perform significantly better with large files. It falls back to the old semantics if the mv fails.
Dan Collis-Puro committed -
Fixes a typo in the README.md
Jon Yurek committed
-
- 15 Jul, 2013 1 commit
-
-
willchapin committed
-
- 25 Jun, 2013 1 commit
-
-
Johnny Shields committed
-
- 21 Jun, 2013 4 commits
-
-
Dan Collis-Puro committed
-
Thanks to ericsullivan for pointing this out.
Jon Yurek committed -
This propagates attachment size and content_type validations to the main attachment attribute, to make them behave the same as presence validations. This allows paperclip to play more nicely with simple_form and other form abstraction gems. This commit includes a behaviorial change. If you emit all errors on a model instance you will see some failed validations twice: once for the base attachment attribute and again for the failed presence, content_type or size attachment attributes.
Dan Collis-Puro committed -
Merge branch 'rake-task-exception-handling' of git://github.com/holetse/paperclip into holetse-rake-task-exception-handling
Dan Collis-Puro committed
-
- 15 Jun, 2013 1 commit
-
-
Edward Holets committed
-
- 14 Jun, 2013 21 commits
-
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
There was a spec that was failing because we removed .attachment_definitions from models, I expected this to fix it, but apparently it hasn't.
George Brocklehurst committed -
George Brocklehurst committed
-
George Brocklehurst committed
-
George Brocklehurst committed
-
George Brocklehurst committed
-
Mike Burns committed
-
Mike Burns and George Brocklehurst committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns and George Brocklehurst committed
-
- 09 Jun, 2013 1 commit
-
- 07 Jun, 2013 1 commit
-
-
This allows bundler to complete gem dependency resolution during development. This is only relevant for paperclip developers. Please see: https://github.com/thoughtbot/paperclip/issues/1256 and thanks to @nkondratyev
Dan Collis-Puro committed
-
- 24 May, 2013 2 commits