attachment_fu, PDF files and :db_file storage type

When you create a column with binary file type, Rails automatically converts it to mysql type blob. By default blob type is 2kb. Use    t.column data, :binary, :limit => 10.megabyte in your migration to set the correct size of the mysql blob.

- Tushar