I think we should use `rails_3_or_4?` here, as AFAIK `self.table_name` is the preferred way to set the table name in Rails 3, too.