Asking Rails What Plugins it has Loaded, After Initialization
At some point, this was valid:
Rails.plugins
But I cannot seem to make this work for me开发者_StackOverflow中文版 in Rails 2.3. What is the proper strategy to ask Rails about plugins that have been loaded, after its initialized them all?
I am not sure what happened to Rails.plugins
, but...
There's a class that deals with plugin information.
There's also script/plugin list
If you're really curious about plugins and their information, take a look at
$ $RUBYGEMS_DIR/rails-2.3.x/lib/commands/plugin.rb
精彩评论