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? -- Posted via http://www.ruby-forum.com/.
No ideas? -- Posted via http://www.ruby-forum.com/.
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 On 1/3/06, purplehaze <roman.ilin@gmail.com> wrote:> No ideas? > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >