What is the difference between
t.boolean :is_live, index: true
and
add_index :table_name, :is_live
If there i
In short: both do the same job. ìndex: true` just saves you an additional line. Look here https://github.com/rails/rails/pull/5262#issuecomment-4329571