honour table_name_prefix in active_record models