title: rails: migration issue with paperclip gem
body: <p>I'm trying to migrate the rails app but it fail. the issue in the paperclip gem migration.</p>
  <p>I tried to use both way for migration but both of them not work properly:</p>
  <pre><code>class AddAttachmentImageToItems &lt; ActiveRecord::Migration[6.1]
    def self.up
      add_attachment :items, :image
    end
  
    def self.down
      remove_attachment :items, :image
    end
  end
  </code></pre>
  <p>also tried:</p>
  <pre><code>class AddAttachmentImageToItems &lt; ActiveRecord::Migration[6.1]
    def change
      add_attachment :items, :image
    end
  end
  </code></pre>
  <p>after run <code>rails db:migrate</code> showing error:</p>
  <pre><code>/Users/zi/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/pry-byebug-3.8.0/lib/pry-byebug/control_d_handler.rb:5: warning: control_d_handler's arity of 2 parameters was deprecated (eval_string, pry_instance). Now it gets passed just 1 parameter (pry_instance)
  == 20210713231704 AddAttachmentImageToItems: migrating ========================
  -- add_attachment(:items, :image)
  rails aborted!
  StandardError: An error has occurred, this and all later migrations canceled:
  
  wrong number of arguments (given 4, expected 3)
  /Users/zi/rails/stage_1/db/migrate/20210713231704_add_attachment_image_to_items.rb:3:in `up'
  /Users/zi/rails/stage_1/bin/rails:5:in `&lt;top (required)&gt;'
  /Users/zi/rails/stage_1/bin/spring:10:in `block in &lt;top (required)&gt;'
  /Users/zi/rails/stage_1/bin/spring:7:in `&lt;top (required)&gt;'
  
  Caused by:
  ArgumentError: wrong number of arguments (given 4, expected 3)
  /Users/zi/rails/stage_1/db/migrate/20210713231704_add_attachment_image_to_items.rb:3:in `up'
  /Users/zi/rails/stage_1/bin/rails:5:in `&lt;top (required)&gt;'
  /Users/zi/rails/stage_1/bin/spring:10:in `block in &lt;top (required)&gt;'
  /Users/zi/rails/stage_1/bin/spring:7:in `&lt;top (required)&gt;'
  Tasks: TOP =&gt; db:migrate
  (See full trace by running task with --trace)
  </code></pre>