* 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 |
||
|---|---|---|
| .. | ||
| _bronze_sponsor_copy.html.erb | ||
| _devrel_consult_copy.html.erb | ||
| _form.html.erb | ||
| _gold_sponsor_copy.html.erb | ||
| _media_sponsor_copy.html.erb | ||
| _silver_sponsor_copy.html.erb | ||
| _tag_sponsor_copy.html.erb | ||
| index.html.erb | ||
| show.html.erb | ||