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`
updates to #3020

Also: adds a test!

For some reason `rake docs:build` is failing…?
Fix typo on method name
Merge pull request #3029 from orendon/fix-typo-pundit-adapter

Rename method in order to fix typo