Re: [Rails] Extending a Model that is in a plugin

2010-03-08 Thread Andy Jeffries
On 26 February 2010 17:35, Yanni Mac wrote: > I have several apps that share common base models which I am coding into > a plugin, but each app may need to add some additional code or override > some code in the plugin model. > OK, so let's assume your base model is like this: class MyPlugin::

[Rails] Extending a Model that is in a plugin

2010-02-26 Thread Yanni Mac
I have several apps that share common base models which I am coding into a plugin, but each app may need to add some additional code or override some code in the plugin model. One of the main differences is that I use multiple database servers in alot of these apps, which is managed by the "use_db