Fix broken validates_attachment_size error message. The min and max values were not being passed to attachment_definitions and thus were not available for :min and :max string replacement when the error message was built, leading to spaces rather than byte values for :min and :max. (cherry picked from commit 3fdb1160b272e71653d18d0b5945073e615c0a2d)
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| fixtures | Loading commit data... | |
| matchers | Loading commit data... | |
| .gitignore | Loading commit data... | |
| attachment_test.rb | Loading commit data... | |
| database.yml | Loading commit data... | |
| geometry_test.rb | Loading commit data... | |
| helper.rb | Loading commit data... | |
| integration_test.rb | Loading commit data... | |
| interpolations_test.rb | Loading commit data... | |
| iostream_test.rb | Loading commit data... | |
| paperclip_test.rb | Loading commit data... | |
| processor_test.rb | Loading commit data... | |
| storage_test.rb | Loading commit data... | |
| thumbnail_test.rb | Loading commit data... |