Both R and #service will be covered!

Here's the published url: :-)

On Mon, Jul 21, 2008 at 12:48 AM, Eric Mill <[EMAIL PROTECTED]> wrote:
> I get that R is a method which returns the class; but it also uses a
> lesser-known Ruby callback called Class#inherited
> ( that blows
> my mind and could use talking about.
> The reason talking about #service would be cool is because it's not an
> obvious function to decipher, yet is key to any developers getting
> into Camping who might want to expand it like you and Magnus did.
> -- Eric
> On Sun, Jul 20, 2008 at 6:13 PM, Bluebie, Jenna
> <[EMAIL PROTECTED]> wrote:
>> Neat! I like it ^_^
>> As for those queries, Eric, I believe the answer is that R is a method which
>> returns a class.
>> Overriding services for middleware works because it's the job of 'service'
>> to call the get, post, type methods in the Controllers. By overriding it, we
>> can use 'super' to call the original service method which runs the app
>> controller, but we can add code above and below that call to 'super'. :)
>> _______________________________________________
>> Camping-list mailing list
> _______________________________________________
> Camping-list mailing list

Magnus Holm
Camping-list mailing list

Reply via email to