Home > other >  Problem with migration when i am implementing paper clip
Problem with migration when i am implementing paper clip

Time:12-16

enter image description here

class AddAttachmentAvatarToLists < ActiveRecord::Migration[7.0]
    def change
    create_table :lists do |t|
      t.attachment :avatar
      t.timestamps
    end
  end
end

The error is as follows and I cannot figure out how to fix it - any more experienced people know what I am doing wrong?

CodePudding user response:

Paperclip doesn't seem to work on Rails 7. There's a fork that might work for you - see reported issue at https://github.com/thoughtbot/paperclip/issues/2698

  • Related