Re: An issue for consideration

2008-05-23 Thread Bluebie, Jenna
This should help. include Camping::ControllerSecurity in your controllers module or your Camping (or whatever Camping.goes has turned it in to) module, after requiring this: module Camping module ControllerSecurity def service(*a) @method = 'get' unless ['get', 'post', 'delete',

R(c,*g) helper method can't handle nested hash input params

2008-05-23 Thread ronald.evangelista
params= {search=Search, date_begin=2007-05-01, date_type=created_on, order=1, report_type=year_end, person= {reply_status_id=1, created_on= Tue, 01 May 2007 00:00:00 +..Fri, 23 May 2008 00:00:00 +}, date_end=2008-05-23} R(Report,params) =

Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
The problem is that almost all app require 'camping' and when bin/camping require 'camping-unabridged' things gets pretty messy. Right, didn't thought about that.. well then we have to come up with a Ruby2Ruby version, isn't it ? ___ Camping-list

Re: An issue for consideration

2008-05-23 Thread Aria Stewart
On May 22, 2008, at 10:46 PM, Bluebie, Jenna wrote: We've just come across an issue for consideration. I am avoiding some words which would allow people to find this message in an internet search who have questionable intentions, but wish to communicate a strong sense of caution. Consider

Re: An issue for consideration

2008-05-23 Thread _why
On Fri, May 23, 2008 at 12:16:15PM +0200, Magnus Holm wrote: Do you think we should add a protection inside Camping too? No, if Rack comes with Rack::Lint and Camping now depends on Rack, then it'd be redundant to have it in Camping as well, you know? _why

Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread Eric Mill
How is camping.rb created from camping-unabridged.rb? By hand? If that's the case, you can't expect the compressed camping.rb to be maintained once more than _why and zimbatm start wanting to contribute, you know? If it can be done by script, then by all means let's do that and include that

Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
How is camping.rb created from camping-unabridged.rb? By hand? Err.. yes. This is a kind of art you know ? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
2008/5/22 _why [EMAIL PROTECTED]: Splendid! If we can say Camping, the 3K Microframework, then I think we will really have a reason to bump the big number. I'll wait for a reaction from zimbatm, but I am euphoric about these changes. Wasn't the one who codes who leads ? :)

Re: Camping-list Digest, Vol 23, Issue 8

2008-05-23 Thread John Beppu
What pains me is that my Perl clone is weighing in at a bloated 6.6k after I run it through: cat `find -name '*.pm' -print` | perltidy -npro -dac -dws -i 0 | sed '/^\s*$/d' | perl -pe 's/ +/ /g' | wc . I was never an expert golfer http://perlgolf.sourceforge.net/, but still *sigh* --beppu

Re: Rack, Camping 2.0++

2008-05-23 Thread Magnus Holm
So should I just merge/rebase everything to my master, so _why can merge it into his? Some more notes: * camping/db.rb - camping/ar.rb * camping/session.rb - camping/ar/session.rb * CookieSession - camping/session.rb The documentation and the names (Camping::Session, Camping::ARSession?) needs

Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
2008/5/23 Magnus Holm [EMAIL PROTECTED]: So should I just merge/rebase everything to my master, so _why can merge it into his? Some more notes: * camping/db.rb - camping/ar.rb * camping/session.rb - camping/ar/session.rb * CookieSession - camping/session.rb The documentation and the names

Re: An issue for consideration

2008-05-23 Thread Eric Mill
You at least want to allow what's in the HTTP spec -- that's HEAD, TRACE, OPTIONS, and CONNECT, on top of the GET/POST/PUT/DELETE. -- Eric On Fri, May 23, 2008 at 7:21 PM, Brendan Taylor [EMAIL PROTECTED] wrote: On Fri, May 23, 2008 at 04:20:21PM +1000, Bluebie, Jenna wrote: This should help.