Fix discussions N+1 queries
- Add specs for html and text node - Fix N plus one queries for new review email Changelog: performance
显示
- app/mailers/emails/reviews.rb 8 个添加, 0 个删除app/mailers/emails/reviews.rb
- app/models/note.rb 1 个添加, 0 个删除app/models/note.rb
- app/views/notify/_note_email.html.haml 2 个添加, 2 个删除app/views/notify/_note_email.html.haml
- app/views/notify/_note_email.text.erb 2 个添加, 2 个删除app/views/notify/_note_email.text.erb
- app/views/notify/new_review_email.html.haml 7 个添加, 1 个删除app/views/notify/new_review_email.html.haml
- app/views/notify/new_review_email.text.erb 7 个添加, 1 个删除app/views/notify/new_review_email.text.erb
- spec/mailers/notify_spec.rb 30 个添加, 1 个删除spec/mailers/notify_spec.rb
加载中
想要评论请 注册 或 登录