Baffled on the most simple file upload issue

what was the fix?

Dion Hewson wrote:

what was the fix?

I’m guessing he typed

@file_type = params[:account][:picture].content_type.**chomp**

Instead of @file_type = params[:account][:picture].content_type