Replace set_table_name with new syntax for Rails 4