Has anyone successfully gotten the scoped_access plugin to work in Rails 1.1? Some of the methods it was relying on are now no longer accessible. It seems the only way to add scope is to use the 'with_scope' method that takes a block, but since Rails doesn't have real around filters I cannot see a way of adding a scope using a filter. Anyone using with_scope and filters that can shed any light? Cheers, Jon  http://habtm.com/articles/2006/02/22/nested-with_scope  "around" was originally defined in CLOS (Common Lisp) 30 years ago. It's when some form of interceptor is called and is given full control of calling the next interceptor in the chain. "around" is simple yet incredibly powerful and can not only be used to implement "before" and "after" but all sorts of crazy interception types. I'm slightly disappointed Rails doesn't have real "around" but hey, maybe I should just submit a patch!
on 2006-03-31 02:58
on 2006-03-31 08:09
Jon Tirsen wrote: >  "around" was originally defined in CLOS (Common Lisp) 30 years ago. Less than 20 years - Common Lisp itself (without CLOS) came out in 1984, and CLOS was added around 1988.
on 2006-03-31 09:01
Justin F. wrote: > Less than 20 years - Common Lisp itself (without CLOS) came out in 1984, > and CLOS was added around 1988. I stand corrected.
on 2006-03-31 12:11
Jon Tirsen wrote: > Has anyone successfully gotten the scoped_access plugin to work in > Rails 1.1? I thought scoped_access was now built into 1.1 so no need for a plugin anymore, but I could be wrong... Jeroen
on 2006-04-02 07:08
Jon Tirsen wrote: > Justin F. wrote: >> Less than 20 years - Common Lisp itself (without CLOS) came out in 1984, >> and CLOS was added around 1988. > > I stand corrected. Sorry to be picky... I was using Interlisp-D and LOOPS (precursor to CLOS) in 1984, then Common Lisp and CLOS on Macintosh around 1990. I must get back up to speed with Common Lisp. One of my colleagues from the 90's has managed to stay with Common Lisp, exclusively... and another is running a company specialising in Erlang, another language on my list.