How to get the list of all engines in Rails 3 app -


according rails engines extending functionality in rails 2.x 1 do

rails::initializer.new(rails.configuration).plugin_loader.engines 

this code not working in rails 3

actioncontroller::routingerror (undefined method `new' rails::initializer:module):   config/application.rb:12:in `require_or_load' 

what need in rails 3 such list of engines?

this needed extending controllers of rails 3 engine in main app

as of 5/10/2011 , rails 3.1 beta, it's

rails::application::railties.engines 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -