thoughtbot/paperclip — pull request #1100 by yopefonic (2012-12-03 23:47:12+00:00)
Title: fix generator deprecation warning

While setting up my app with paperclip I found that the migration generator created some code that triggered a deprecation warning. It seems like the method has been renamed, but not yet in the template that is used for the generation of the migration.

replace t.has_attached_file with t.attachment. Also changed the tests accordingly.

I did not get a passing codebase but my results are the same as in the latest travis builds. When the repo is green again I can do a rebase if required. It's not a big bugfix, tiny as they come actually, so it should be easy to keep up-to-date.