Use tire.index.name instead of index_name, as user could be using a proc as the index name (tire already handles that)