<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi Richard,</span></div><div>Just wanted to let you know that I thought it was a really good talk: very concrete and you did a great job of explaining thought processes in very limited time!</div><div>John</div><div><span><br></span></div><div><br></div> <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Richard Livsey <richard@livsey.org><br> <b><span style="font-weight: bold;">To:</span></b> ikennaokpala@googlemail.com; London Ruby Users Group <chat@lists.lrug.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, 23 February 2012, 16:47<br> <b><span style="font-weight:
bold;">Subject:</span></b> Re: [LRUG] Notes from my talk on refactoring<br> </font> </div> <br>Yeah, authenticate_with_password would probably take a username and password if done in reality, passing round the params hash isn't very nice. In reality if using OmniAuth/similar you'd probably pass the auth_hash through instead of params.<br><br>In the end it's not really about authentication more a case of illustrating the refactoring side of things, so I admit I may have 'cheated' a bit by knowing the outcome when I started off writing the first example :o) <br><br>Glad you enjoyed it!<br><br><br>On Thursday, 23 February 2012 at 16:34, Okpala Ikenna N. wrote:<br><br>> Jus finished reading your post.. to put long short.. "Brilliant".<br>> <br>> i am wondering why you have choosen to allow authenticate_with_password(params) to be aware of opening up the params hash. <br>> <br>> --<br>> <br>> Ikenna<br>> <br>> <br>> On Thu, Feb
23, 2012 at 4:03 PM, Richard Livsey <<a ymailto="mailto:richard@livsey.org" href="mailto:richard@livsey.org">richard@livsey.org</a> (mailto:<a ymailto="mailto:richard@livsey.org" href="mailto:richard@livsey.org">richard@livsey.org</a>)> wrote:<br>> > I've written up my notes for the lightning talk I gave on refactoring:<br>> > <br>> > <a href="http://livsey.org/blog/2012/02/23/should-your-user-care-about-authentication/" target="_blank">http://livsey.org/blog/2012/02/23/should-your-user-care-about-authentication/</a><br>> > <br>> > Hopefully it is of interest to someone!<br>> > <br>> > Cheers.<br>> > <br>> > --<br>> > Richard Livsey<br>> > Co-Founder, MinuteBase<br>> > Meeting collaboration made easy<br>> > <a href="http://minutebase.com" target="_blank">http://minutebase.com</a><br>> > +44 (0) 7841 260 797 (tel:%2B44%20%280%29%207841%20260%20797)<br>> >
<br>> > <br>> > _______________________________________________<br>> > Chat mailing list<br>> > <a ymailto="mailto:Chat@lists.lrug.org" href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a> (mailto:<a ymailto="mailto:Chat@lists.lrug.org" 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>> <br>> _______________________________________________<br>> Chat mailing list<br>> <a ymailto="mailto:Chat@lists.lrug.org" href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a> (mailto:<a ymailto="mailto:Chat@lists.lrug.org" 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><br><br>_______________________________________________<br>Chat mailing list<br><a ymailto="mailto:Chat@lists.lrug.org" 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><br> </div> </div> </div></body></html>