[Nitro] on_load in og ?

Chris Farmiloe chris at motionpath.com
Thu Feb 2 04:42:57 EST 2006


Yip, you can use code like that in your Og managed models and on your  
Nitro controllers.



Chris Farmiloe
Design & Development.

Motionpath Digital Media Ltd.
St Georges road, Brighton, BN2 1ED.
Office: 01273 608708    |    Mobile:    07791 179481




On 2 Feb 2006, at 07:58, <vseguip at gmail.com> <vseguip at gmail.com> wrote:

> On 1/26/06, George Moschovitis <george.moschovitis at gmail.com> wrote:
>>> yeah use a nice aspect in your model like
>>>
>>> pre :call_this, :on => :og_read
>>
>> or
>>
>> before :call_this, :on => og_read
>>
>> or
>>
>> before 'my ruby code here', :on => og_read
>>
>> or
>>
>> before { my ruby code }, :on => og_read
>>
>> etc etc...
>>
>>
> Is this implemented and working? If so is it documented? It certainly
> would be a nice feature.
>
>
> Cheers,
>   V. Seguí
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060202/b7b66ddc/attachment.html 


More information about the Nitro-general mailing list