<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Camping also makes a lot more sense if you look at the unabridged version: <A href="http://code.whytheluckystiff.net/svn/camping/trunk/lib/camping-unabridged.rb">http://code.whytheluckystiff.net/svn/camping/trunk/lib/camping-unabridged.rb</A>. It's highly commented and an interesting read if you're into that sorta thing.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Saying that, there is some crazy _why voodoo that only he seems to understand...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Steve</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 4 May 2007, at 15:42, soledad penadés | sole wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">After having had to "debug" a long piece of perl code, I even find that one clearly understandable :)<BR><BR><DIV><SPAN class="gmail_quote">On 5/4/07, <B class="gmail_sendername">graham</B> <<A href="mailto:graham@theseamans.net"> graham@theseamans.net</A>> wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hmm... as a beginner I would rather not be contemplating working my way <BR>through lines like:<BR><BR>def R<BR>c,*args;p=/\(.+?\)/;args.inject(c.urls.detect{|x|x.scan(p).size==args.size}.dup){|str,a|str.gsub(p,(a.method(a.class.primary_key<BR> )[]rescue a).to_s)};end;def / p;File.join(@root,p) end;end; <BR><BR>while debugging my tiny application. It's bad enough trying to debug my<BR>own code, but at least I can comment that..<BR><BR>Thanks for the thought ;-)<BR>Graham<BR><BR><BR>Roland Swingler wrote:<BR>> Depending on what you are doing on the web you might like to check out <BR>> Camping if you feel that what you are trying to do is too "small",<BR>> even for Rails.<BR>><BR>> <A href="http://redhanded.hobix.com/bits/campingAMicroframework.html">http://redhanded.hobix.com/bits/campingAMicroframework.html </A><BR>><BR>> Cheers,<BR>> Roland<BR>><BR>> On 5/4/07, Chris Parsons <<A href="mailto:chris@edendevelopment.co.uk">chris@edendevelopment.co.uk</A>> wrote:<BR>>> On 3 May 2007, at 18:51, graham wrote: <BR>>><BR>>>> How do people feel about this? Is it a case of 'if you want to use<BR>>>> ruby<BR>>>> on the web you're wasting your energy not using Rails'? Or do I just<BR>>>> need to refine my google skills? or just bring some code to the next <BR>>>> ruby meet ;-) ?<BR>>> I'd recommend using Rails exclusively for Ruby on the web, but learn<BR>>> some<BR>>> pure non web Ruby before moving to Rails. The Ruby Quiz[1] is quite good<BR> >> for standalone ruby solutions to coding problems, or you can pick a<BR>>> scripting<BR>>> task you might have done in perl and start solving it in Ruby. Make<BR>>> sure you've<BR>>> worked through this online book[2], too. <BR>>><BR>>> IME a strong non-web Ruby background really helps when it comes to<BR>>> writing<BR>>> tidy and expressive Rails code.<BR>>><BR>>> Thanks<BR>>> Chris<BR>>><BR>>> [1] <A href="http://rubyquiz.com/">http://rubyquiz.com/</A><BR>>> [2] <A href="http://ruby-doc.org/docs/ProgrammingRuby/">http://ruby-doc.org/docs/ProgrammingRuby/</A><BR>>><BR>>> --<BR>>> Chris Parsons <BR>>> Managing Director<BR>>> Eden Development (UK) Ltd<BR>>><BR>>> <A href="mailto:chris@edendevelopment.co.uk">chris@edendevelopment.co.uk</A><BR>>> <A href="http://www.edendevelopment.co.uk"> www.edendevelopment.co.uk</A><BR>>><BR>>> 0845 0097 094<BR>>> po box 425, winchester, so23 0wy, uk<BR>>> Map: <A href="http://pininthemap.com/edendevelopment">http://pininthemap.com/edendevelopment </A><BR>>><BR>>><BR>>> Tried Pin in the Map? Mark a map location, add text, send to friends.<BR>>> <A href="http://pininthemap.com">http://pininthemap.com</A><BR>>><BR>>> -------------- <BR>>> This electronic message and all contents contain information from the<BR>>> sender which may be privileged, confidential or otherwise protected<BR>>> from disclosure. The information is intended to be for the addressee <BR>>> (s) only. If you are not an addressee, any copying, disclosure,<BR>>> distribution or use of the contents of this message is prohibited. If<BR>>> you have received this electronic message in error, please notify the <BR>>> sender by reply e-mail and destroy the original message and all<BR>>> copies. The sender does not accept liability for any errors or<BR>>> omissions.<BR>>><BR>>><BR>>> _______________________________________________ <BR>>> chat mailing list<BR>>> <A href="mailto:chat@lrug.org">chat@lrug.org</A><BR>>> <A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</A><BR>>> <BR>> _______________________________________________<BR>> chat mailing list<BR>> <A href="mailto:chat@lrug.org">chat@lrug.org</A><BR>> <A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org </A><BR><BR>_______________________________________________<BR>chat mailing list<BR><A href="mailto:chat@lrug.org">chat@lrug.org</A><BR><A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org </A><BR></BLOCKQUOTE></DIV><BR><BR clear="all"><BR>-- <BR><A href="http://www.soledadpenades.com">www.soledadpenades.com</A><BR><A href="http://www.supersole.net">www.supersole.net</A><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">chat mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:chat@lrug.org">chat@lrug.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>