Rails G Migration Добавить колонны массив
class AddSubjectsToBook < ActiveRecord::Migration
def change
add_column :books, :subjects, :text, array: true, default: []
end
end
Alert Alligator