<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -205,12 +205,10 @@ module Technoweenie # :nodoc:
       def create_or_update_thumbnail(temp_file, file_name_suffix, *size)
         thumbnailable? || raise(ThumbnailError.new(&quot;Can't create a thumbnail if the content type is not an image or there is no parent_id column&quot;))
         returning find_or_initialize_thumbnail(file_name_suffix) do |thumb|
-          thumb.attributes = {
-            :content_type             =&gt; content_type, 
-            :filename                 =&gt; thumbnail_name_for(file_name_suffix), 
-            :temp_path                =&gt; temp_file,
-            :thumbnail_resize_options =&gt; size
-          }
+          thumb.content_type = content_type
+          thumb.filename = thumbnail_name_for(file_name_suffix)
+          thumb.temp_path = temp_file
+          thumb.thumbnail_resize_options = size
           callback_with_args :before_thumbnail_saved, thumb
           thumb.save!
         end</diff>
      <filename>vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b9b07612fbb61a73530bd0920ef62ddbddfb2aa7</id>
    </parent>
  </parents>
  <author>
    <name>rick</name>
    <email>technoweenie@gmail.com</email>
  </author>
  <url>http://github.com/technoweenie/mephisto/commit/9c610fccc09a0ea54393685b10d27f93c53baf8c</url>
  <id>9c610fccc09a0ea54393685b10d27f93c53baf8c</id>
  <committed-date>2008-03-04T01:11:02-08:00</committed-date>
  <authored-date>2008-03-04T01:11:02-08:00</authored-date>
  <message>tweak attachment_fu for better attr_accessible compatibility [rob-twf]</message>
  <tree>4cb24aeccdc69501560e2daa138e6529c3bee9ab</tree>
  <committer>
    <name>rick</name>
    <email>technoweenie@gmail.com</email>
  </committer>
</commit>
