Updating -just- a file_column

How do I update a file_column column in an object in such a way that it
will also trigger an after_save?

I was using update_attributes(), but that didnt work once I added the
after_save. Also @user.avatar = params[:user][:avatar] doesnt seem to
work either.

jon wrote:

How do I update a file_column column in an object in such a way that it
will also trigger an after_save?

I was using update_attributes(), but that didnt work once I added the
after_save. Also @user.avatar = params[:user][:avatar] doesnt seem to
work either.

sorry, the second one did work, the mistake was my fault.