I'm still a bit dubious about slices being ready for prime time.
The only real world slice is the auth one. Its great, as is auth-
core, but has some obvious issues:
Doesn't inherit from my application controller so I lose common
behavior. I end up copy/pasting code from application into
global_helpers to get around some of the quirks. Other things I've
yet to find a solution for (like fixing bugs - https redirect??))
besides patching the slice.
The password slice is very nicely written, but its an example of
"advanced" ruby coding. Its highly factored and parameterized. We
really cannot expect the masses to dig through this level of code on a
regular basis. I had to read and re-read the auth slice many times to
ensure I was using it correct.
The extra files littered in my project is another oddity about
slices. I get not one, but two new trees of files ;).
I'm sure your aware of these issues. I'll re-post them in the future
if somehow things slip ;).
thanks, Jon
On Dec 25, 6:39 am, "Yehuda Katz" <
wyc...@gmail.com> wrote:
> To be even more clear, slices in Merb were going to be replaced by
> first-class apps (any app can be a slice). This should make it in to Rails3.
> -- Yehuda
>