Fix table-name deprecation warning in AR 3.2