attachment_fu icon indicating copy to clipboard operation
attachment_fu copied to clipboard

Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.

Results 52 attachment_fu issues
Sort by recently updated
recently updated
newest added

Fixed Validation failed: Attachment translation missing: en.activerecord.errors.messages.inclusion and added separate error messages for size and content type.

ActiveRecord#update_all was deprecated in Rails 2.3.8 and has since been replaced by ActiveRecord::Relation#update_all. With this change the method signature (accepted parameters) and usage have also changed requiring the refactoring.

hey technoweenie, first I am thankful to you for developing attachment_fu in the first place. I have a production project running on rails 2.3.8 with attachment_fu. I started upgrading to...

Hello! It is [**Picabot**, an automatic GitHub image optimizer](https://github.com/somu/picabot). Your repository cointains some images, and I compressed them for you. Do not worry: the compression is lossless and uses [ImageOptim](http://imageoptim.com)...

Hi, Thanks for the great plugin (and acts_as_attachment), I would like to submit a fix I did for a clients rails 1.2.6 application. This restores compatibility whilst still leaving the...

Hi technowürst, I removed all occurrences of "returning" to avoid Rails 2.3.9 deprecation warnings. I did not even bother to user "tap", as it may not be available on very...

Hi Rick, I updated the sanitize_filename method to replace Kernel#returning with Object#tap. I was getting way to many deprecation warnings after updating an app from Rails 2.3.8 to 2.3.12. Best...

Replaced returning with tap

Something goes wrong when I upload: /!\ FAILSAFE /!\ 2010-09-03 15:21:19 +0200 Status: 500 Internal Server Error can't convert nil into Integer /files/sources/rails/customer-service/vendor/plugins/attachment_fu/init.rb:7:in `sprintf' /files/sources/rails/customer-service/vendor/plugins/attachment_fu/init.rb:7:in`make_tmpname' /usr/lib64/ruby/1.9.1/tmpdir.rb:132:in `create' /usr/lib64/ruby/1.9.1/tempfile.rb:134:in`initialize' /usr/lib64/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/utils.rb:486:in `new'...

When attachment_fu will be compatible with Rails 3?