user newer arel syntax to get rid of deprecation warning