Rails G Migrasi Tambahkan Array Kolom
class AddSubjectsToBook < ActiveRecord::Migration
def change
add_column :books, :subjects, :text, array: true, default: []
end
end
Alert Alligator