Forum: Ruby on Rails Plugins include order

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
purplehaze (Guest)
on 2006-01-03 19:33
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?
purplehaze (Guest)
on 2006-01-03 23:12
No ideas?
James A. (Guest)
on 2006-01-04 01:04
(Received via mailing list)
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
This topic is locked and can not be replied to.