hacking in deprecated Arel functionality for compat