{"push_id":712940164,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"661fb4f1f9771e5bba759403529cef9373bb70f1","before":"189dc4cb0f7aed344bd68e4f51796f5d352d90ff","commits":[{"sha":"3ed4c5fb8b0afbe05504502fde07a526e359569b","author":{"email":"0bac634f79ce838bdebf552d1cdd9f5b32ed5e06@funnyq.com","name":"FunnyQ"},"message":"[add] migration 新增一個 comments_count 欄位到 Topic 用來快取 comments 數\n\n  - comment model 的 topic 關聯中加上 counter_cache: true\n  - 在 migration file 中手動重新計算所有的 comments_count 數","distinct":true,"url":"https://api.github.com/repos/FunnyQ/miniproject2/commits/3ed4c5fb8b0afbe05504502fde07a526e359569b"},{"sha":"661fb4f1f9771e5bba759403529cef9373bb70f1","author":{"email":"0bac634f79ce838bdebf552d1cdd9f5b32ed5e06@funnyq.com","name":"FunnyQ"},"message":"[add] ✔ * 可以看到每篇主題有多少回覆數\n\n  - 新增一個 helper 回應 '沒有留言' 或 'XX 則留言'\n  - 在 topic index view 中使用這個 helper 來顯示留言數","distinct":true,"url":"https://api.github.com/repos/FunnyQ/miniproject2/commits/661fb4f1f9771e5bba759403529cef9373bb70f1"}]}