Not exactly what you're after - but Avdi Grimm's new book is an interesting look at taking a much more object oriented view of building a rails app. It covers some of the same sort of ground.<div><br></div><div><a href="http://avdi.org/devblog/2011/11/15/early-access-beta-of-objects-on-rails-now-available-2/">http://avdi.org/devblog/2011/11/15/early-access-beta-of-objects-on-rails-now-available-2/</a></div>
<div><br></div><div>Steve<br><br><div class="gmail_quote">On Wed, Nov 23, 2011 at 11:14 AM, James Cumming <span dir="ltr"><<a href="mailto:james.cumming@yahoo.co.uk">james.cumming@yahoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:10pt"><div><span>Chris, do you know of any good articles / blogs on this?</span></div><div class="im"><div><br><span></span></div>
<div><span>cheers<br></span></div><div> </div><div><i>James Cumming, CFA<br></i><a href="tel:%2B44%207799%20554468" value="+447799554468" target="_blank">+44 7799 554468</a><br></div> </div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">
<div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold">From:</span></b> Chris Parsons <<a href="mailto:chris.p@rsons.org" target="_blank">chris.p@rsons.org</a>><div class="im">
<br> <b><span style="font-weight:bold">To:</span></b> London Ruby Users Group <<a href="mailto:chat@lists.lrug.org" target="_blank">chat@lists.lrug.org</a>> <br> </div><b><span style="font-weight:bold">Sent:</span></b> Wednesday, 23 November 2011, 10:42<div class="im">
<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [LRUG] A question on DRYness on testing methods that get / set state<br>
</div></font> <br><div><div class="h5"><div><div><br><div><div>On 23 Nov 2011, at 10:28, James Cumming wrote:</div><br><blockquote type="cite"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,helvetica,sans-serif;font-size:10pt">
<div><br></div><div>> Incidentally, I was listening to an interesting podcast interview with<br>> Gary Bernhardt yesterday. Among other things, it touched on different<br>> approaches to testing; might be a good start to further exploration.<br>
<a rel="nofollow" href="http://www.engineyard.com/podcast/s01e40-gary-bernhardt" target="_blank">> http://www.engineyard.com/podcast/s01e40-gary-bernhardt</a><br><span></span></div><div><br><span></span></div><div>Interesting interview this was. Has anyone used classes in the lib folder extensively as Gary suggests? How have you found it? <br>
</div><div> I can think of a few of my projects
where this make sense and hopefully speed up autotest.</div><div></div></div></div></blockquote><div><br></div><div>Yes, I do this extensively these days (e-petitions whole searching infrastructure was built in lib).</div>
<div><br></div><div>It has a few big advantages: one of which is faster tests, but also it helps you to depend on your framework less and improve design through reducing collaborators.</div><div><br></div><div>Thanks</div>
<div>Chris</div></div><br><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">--<br>
Chris Parsons<br><a rel="nofollow" href="mailto:chris.p@rsons.org" target="_blank">chris.p@rsons.org</a><br><a href="http://twitter.com/chrismdp" target="_blank">http://twitter.com/chrismdp</a><br><a href="http://pa.rsons.org" target="_blank">http://pa.rsons.org</a><br>
<br><br><br></span>
</div>
<br></div></div><br></div></div><div class="im">_______________________________________________<br>Chat mailing list<br><a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br><a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br><br> </div></div> </div> </div></div><br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>/tooky<br>
</div>