I use RJS-Templates plugin. I will override one function in it. create_template_source() I create my own plugin and do that, but if my plugin is loaded first, RJS-Templates plugin overrides my function. How cat I define plugins include order or protect my own function from being overriden?
on 2006-01-03 19:33
on 2006-01-03 23:12
on 2006-01-04 01:04
There's no real dependency mechanism with the standard plugin system, although I believe you can send a message to call the private method 'load_plugin'. This is one of the reasons why there is a call to Engines.start with rails engines - so you can control the load order. - james