Plugins include order


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?


No ideas?


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