Rails Agregar nombre de índice especificcc
add_index :studies,
["user_id", "university_id", "subject_name_id", "subject_type_id"],
unique: true,
name: 'my_index'
Stormy Snail