Feature/accept table name as param instead of ar model

All tests pass with `bundle exec rake`.