Andrew,

You might be able to just 'mention' the class in the activate method so 
it gets loaded.  Then your observer would have to have an "observe" call 
in its class.  Not sure if that will actually work, but it's worth a try.

Sean

Andrew O'Brien wrote:
> Is there a good way to add an ActiveRecord observer through and
> extension's activate method?  I'm guessing the standard way (adding it
> to the config in environment.rb) won't work since the extension hasn't
> loaded yet.
>
> Thanks,
> Andrew
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>   

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to