FIX attribute table_name from tire in active record with 'self' declaration