Preview: Camping Explained

2008-07-20 Thread Magnus Holm
I'm going to start a new series on the cool stuff behind Camping, and would like some feedback from the campers. Are everything understandable? Any grammar/spelling errors? And please don't spread the link, I'll publish a spreadable link later :-)

Re: Preview: Camping Explained

2008-07-20 Thread Eric Mill
I like it. The self-eval is stuff that was there when I jumped in at 1.5, so I knew how it worked, but it remains fascinating. Suggested future topics: How a class can inherit from something that takes arguments (Index R '/'), and what it takes to override #service for middleware. I don't

Re: Preview: Camping Explained

2008-07-20 Thread Eric Mill
I get that R is a method which returns the class; but it also uses a lesser-known Ruby callback called Class#inherited (http://www.ruby-doc.org/core/classes/Class.html#M000454) that blows my mind and could use talking about. The reason talking about #service would be cool is because it's not an

Backwards compatibility broken with URL()... for the better?

2008-07-20 Thread Bluebie, Jenna
In 1.5, to get a full url to ones camping app, you had to do: this_url = 'http:' + URL('/some_action').to_s Useful, for instance, in my openid consumer sample code, to give the openid doodad a return address But in camping 1.9 off jud's gems, URL now returns actual url's with http: and