README.md in saviour-0.6.4 vs README.md in saviour-0.6.5

- old
+ new

@@ -591,11 +591,11 @@ Now, both attachments are independent: ```ruby # `image_thumb` can be changed independently -a.update_attributes! image_thumb: File.open("/path/another_file.png") +a.update! image_thumb: File.open("/path/another_file.png") # or removed a.remove_file_thumb! ``` @@ -712,11 +712,11 @@ [file, filename] end after_upload do |stash| - model.update_attributes!(size: stash[:size], width: stash[:width], height: stash[:height]) + model.update!(size: stash[:size], width: stash[:width], height: stash[:height]) end end ``` Use `stash(hash)` to push a hash of data from a processor. You can call this multiple times from different processors, @@ -1130,11 +1130,11 @@ ```ruby # This would be a controller code a = Post.find(42) # Params received from a form -a.update_attributes(remove_image: "t") +a.update(remove_image: "t") ``` ### How to extract metadata from files @@ -1170,10 +1170,10 @@ ```ruby a = Post.find(42) a.image.with_copy do |f| # manipulate f as desired - a.update_attributes! image: f + a.update! image: f end ``` ### How to recreate versions