https://github.com/soundcloud/lhm/pull/84
Looks like this has changed since the approved answer was suggested. Now you should not specify name: or index_name:, just pass it as the second argument:
m.add_unique_index [:bar_id, :baz], "shortened_index_name"