Re: Camping and sessions proposal.

2007-10-10 Thread Aria Stewart
On Oct 9, 2007, at 6:52 PM, Julian 'Julik' Tarkhanov wrote: > > On 10-okt-2007, at 0:09, Jonas Pfenniger wrote: >> ActiveRecord doesn't seem to handle >> hashid as an identifier, plus it doesn't seem to be fully consistent >> across the various RDBMS. > Only if you want to totally insist and not

Re: Camping and sessions proposal.

2007-10-10 Thread why the lucky stiff
On Wed, Oct 10, 2007 at 10:09:46AM -0600, Aria Stewart wrote: > Keep camping light, move sessions as far out of the core as possible! I'd be okay leaving sessions out. I think zimbatm's Hash is great, because it's peewee and it gets the basic methods across for everyone else to override. If you'

Re: Camping and sessions proposal.

2007-10-10 Thread Nagy Bence
I am using a slightly different session modul with a small and dirty Camping hack for implemeting the Remember me function (used on http://dekk.hu/). @headers["Set-Cookie"[EMAIL PROTECTED]|k,v|"#{k}=#{k=~/_sid$/?v:C.escape(v)};#{"max-age=0;"if !v}path=#{self/'/'}"if [EMAIL PROTECTED]; Campi