technoweenie / attachment_fu

Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
http://weblog.techno-weenie.net
MIT License
1.02k stars 339 forks source link

Upgrade Rails ActiveRecord update_all syntax post Rails 2.3.8 #52

Open corlissc opened 10 years ago

corlissc commented 10 years ago

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.