Your problem is your database already has those columns
Paperclip uses t.attachment
to input these columns to your db:
[attachment]_file_name
[attachment]_content_type
[attachment]_file_size
[attachment]_updated_at
Your t.attachment
basically means you're trying to create one of these columns, but they already exist. The way to fix this is to just get rid of the contents of that migration, run rake db:migrate
again, then delete the file