* Do not load messages in memory, just to count them * Add Model.estimated_count * Use Model.estimated_count in task record_db_table_counts * Use size and estimated_count * Use table_name so that .estimated_count works with all models * Add comment to explain the .load.size + .each pattern |
||
|---|---|---|
| .. | ||
| tasks | ||
| api_constraints.rb | ||