Bagaimana menambahkan kolom indeks di rel
class AddIndexToUsers < ActiveRecord::Migration
def change
add_column :users, :name, :string
add_index :users, :name
end
end
Inquisitive Ibis