More useful `actions` method for `index_as_table`
correct mistakes
don't forget for backwards compatibility

for :name option
Merge pull request #3020 from mindhalt/patch-3

More useful `actions` method for `index_as_table`