require path for plugins in rails 3
There is a plugin in here:
myproject\vendor\plugins\myplugin
How can i activate this plugin? what shou开发者_StackOverflow社区ld i write?
I actually don't think you need to require anything.
EDIT: As @Ryan Bigg said, if your plugin has either a init.rb or plugin_name.rb file, it will be automatically loaded. This goes without saying that you should require your plugin's files from within that file.
加载中,请稍侯......
精彩评论