search for: theplugin

Displaying 2 results from an estimated 2 matches for "theplugin".

Did you mean: rhnplugin
2007 Aug 30
0
Plugin Manager changes
I just committed some stuff in PluginManager to actually load the Gem- based plugins from the manifest. Merb::PluginManager.load_plugins is what goes in merb_init to load them all. For every plugin in the manifest, ''theplugin'' is required, and then we try and require ''theplugin/merb_init'' and, if that fails, we try ''plugin/init'' I''ll be working on this some more this week and next, to make sure it works as expected. I''ll also write some docs.
2007 Aug 15
2
need help on writing a plugin
Hey all, I''ve just "script/generate plugin my_plugin" and I would like to "overload" one of my view. Say I have app/views/sessions/new.html.erb and I would like to rewrite that file without touching it using the plugin. Any idea how to do this? I would also like to do the same thing with models and controllers of my application. I couldn''t find a tutorial