diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-12 15:13:47 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-05-12 15:13:47 -0300 |
commit | 442b7c8ccfe107e05b309e1ef72b760716fa4cba (patch) | |
tree | c2d1e318f1c1716ee3b770dd0508624447e67995 /railties/lib/rails/engine.rb | |
parent | 5919a552e4e4203b8d5eb5234428bc00dd462c49 (diff) | |
parent | 38af3540ae53b9f2fbdb649a68cde3edf182fe67 (diff) | |
download | rails-442b7c8ccfe107e05b309e1ef72b760716fa4cba.tar.gz rails-442b7c8ccfe107e05b309e1ef72b760716fa4cba.tar.bz2 rails-442b7c8ccfe107e05b309e1ef72b760716fa4cba.zip |
Merge pull request #7695 from benolee/backport_cc7dd66_and_c0ba0f0
backport runner fixes to 3-2-stable
Conflicts:
railties/CHANGELOG.md
Diffstat (limited to 'railties/lib/rails/engine.rb')
-rw-r--r-- | railties/lib/rails/engine.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index 993dfe43ee..77f335e45f 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -430,6 +430,11 @@ module Rails super end + def load_runner(app=self) + railties.all { |r| r.load_runner(app) } + super + end + def eager_load! railties.all(&:eager_load!) |