mercredi 14 décembre 2022

Problem with migration when i am implementing paper clip

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?

Aucun commentaire:

Enregistrer un commentaire