migrations with attachments change from t.attachment to t.      t.has_attached_file :avatar