aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJoseph Wong <joseph.wong@sap.com>2011-06-16 10:52:05 -0700
committerJoseph Wong <joseph.wong@sap.com>2011-06-16 10:52:05 -0700
commit245dba0c8941463e4b07733443bb0e161889b153 (patch)
treed6f28e4cc0681a15231559d8220fc0edf0b5ae68 /actionpack/lib
parent36253916b0b788d6ded56669d37c96ed05c92c5c (diff)
downloadrails-245dba0c8941463e4b07733443bb0e161889b153.tar.gz
rails-245dba0c8941463e4b07733443bb0e161889b153.tar.bz2
rails-245dba0c8941463e4b07733443bb0e161889b153.zip
Cherry-picking patch for https://github.com/rails/rails/issues/1460
from 3-1-stable to master [3.1.0.rc1] Plugins inside engines not eager-loaded properly and their rake tasks ignored Working with the new support for plugins inside engines in Rails 3.1, I found that certain things that work for regular plugins don't work for these new nested plugins. In particular, these methods in Rails::Engine don't seem to understand that an engine could have nested plugins: #load_tasks #load_generators #load_console #eager_load! A solution which worked out for me is to move the calls to railties.all { ... } from the overriding methods in Rails::Application into Rails::Engine.
Diffstat (limited to 'actionpack/lib')
0 files changed, 0 insertions, 0 deletions