get parent table_name dynamically in default_scope