Fix deprecation warning for ActiveRecord::Base.set_table_name

Gets rid of warnings like

DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead.