title: How to do Rails migration involving Paperclip
body: <p>How do people write their Rails migrations that involve <a href="https://github.com/thoughtbot/paperclip" rel="noreferrer">Paperclip</a>? I feel that I might be missing something obvious as I have now written my own migration helpers hacks that makes it easier and also take care of doing necessary filesystem changes. And of course you should test run these kinds of migrations in a development (and staging) environment before deploying to production.</p>
  
  <p><a href="https://gist.github.com/1232562" rel="noreferrer">Paperclip migration rename, add and remove helpers</a><br>
  <a href="https://gist.github.com/1299311" rel="noreferrer">Paperclip change path migration helper</a> (not really a database migration but think it fits quite nice anyway)</p>
  
  <p>Are there any better solutions or best practices? some people seems to create rake tasks etc. which feels quite cumbersome.</p>