<div dir="ltr">Thanks peeps, I've got a couple of takeaways from this thread:<br><br><div>1. bullet</div><div>2. don't just treat logs as a place to investigate when I have an error, spend more time reading them. [ Mmm, can't wait to do that ;) but I shall do it. ]</div><div><br></div><div>mark</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font color="#666666" face="tahoma, sans-serif"><br></font></div><div><span style="color:rgb(102,102,102);font-family:tahoma,sans-serif;font-size:12.8px">Dr Mark van Harmelen</span><br></div><div><font color="#666666" face="tahoma, sans-serif">Director</font></div><div><font color="#666666" face="tahoma, sans-serif">Hedtek Ltd</font></div><div><span style="color:rgb(102,102,102);font-size:12.8px"><font face="tahoma, sans-serif"><br></font></span></div><div><span style="color:rgb(102,102,102);font-size:12.8px"><font face="tahoma, sans-serif">+44 7830 212 464</font></span><font color="#666666"><br></font></div><div><span style="color:rgb(102,102,102);font-size:12.8px"><font face="tahoma, sans-serif"><br></font></span></div><div><div style="font-size:12.8px"><font color="#666666" face="tahoma, sans-serif">10 Little Lever St, </font><span style="color:rgb(102,102,102);font-family:tahoma,sans-serif;font-size:12.8px">Manchester M1 1HR, UK</span></div></div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Mar 9, 2017 at 3:32 PM, Frederick Cheung <span dir="ltr"><<a href="mailto:frederick.cheung@gmail.com" target="_blank">frederick.cheung@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div id="m_-85429489702592954bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">It should also be quite obvious when this happens from your logs. </div><div id="m_-85429489702592954bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="m_-85429489702592954bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Somelike like bullet is great for systematically tracking these things down (I think skylight does this too), but in my opinion you should be comfortable enough with the logs produced in development that you can detect this by yourself.</div> <br> <div id="m_-85429489702592954bloop_sign_1489073435363070976" class="m_-85429489702592954bloop_sign">Fred</div><div><div class="h5"> <br><p class="m_-85429489702592954airmail_on">On 9 March 2017 at 14:33:22, Michael Pavling (<a href="mailto:pavling@gmail.com" target="_blank">pavling@gmail.com</a>) wrote:</p> <blockquote type="cite" class="m_-85429489702592954clean_bq"><span><div><div></div><div>On 9 March 2017 at 13:57, Mark van Harmelen <<a href="mailto:mark@hedtek.com" target="_blank">mark@hedtek.com</a>> wrote:
<br>> If anyone else is tempted please, two questions remain, one about future
<br>> optimisations of I think three (N+1) queries I used to generate the page at
<br>> <a href="https://markvan.me/categories/Computer" target="_blank">https://markvan.me/categories/<wbr>Computer</a>
<br>>
<br>> Am I actually doing three (N+1) queries for starters, and are there words I
<br>> can google that might lead me to some improvements, even via caching?
<br>
<br>The Bullet gem can help identify N+1 queries, etc:
<br>
<br><a href="https://github.com/flyerhzm/bullet" target="_blank">https://github.com/flyerhzm/<wbr>bullet</a>
<br>______________________________<wbr>_________________
<br>Chat mailing list
<br><a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a>
<br>Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" target="_blank">http://lists.lrug.org/<wbr>pipermail/chat-lrug.org</a>
<br>Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/options.<wbr>cgi/chat-lrug.org</a>
<br>List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/<wbr>listinfo.cgi/chat-lrug.org</a>
<br></div></div></span></blockquote></div></div></div><br>______________________________<wbr>_________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/<wbr>pipermail/chat-lrug.org</a><br>
Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/options.<wbr>cgi/chat-lrug.org</a><br>
List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/<wbr>listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br></div>