Forum: Ruby on Rails rendering layouts/views from plugins

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
on 2009-06-01 22:38
(Received via mailing list)
I am wondering if there is an easy way to render layouts and views
from the plugin directory, as well as javascript and css ?

 I know I could have a rake task copy them from the plugins to where
they would normally go, but they may change from time to time within
the application and then need to go back into the plugin. If I cause
them to function as a plugin, then as I develop my app, the plugin
changes as well. This is just a plugin that I use for myself only and
would not get used alot except shared between a few apps, though if I
updated it, I would update it in one app and then copy the changes to
the other apps by copying that plugin from one app to another.

 The other possibility is I could have a rake task copy them from the
app back into the plugin dir, but that seems sort of strange.

 I'm not sure if there are some better approaches ...
James A. (Guest)
on 2009-06-02 15:20
(Received via mailing list)
You should get the answers to most of your questions here:

- James
This topic is locked and can not be replied to.