diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 3ed34f21a6..9384492486 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -31,6 +31,10 @@ module Rails Rails.application = base.instance end + def respond_to?(*args) + super || instance.respond_to?(*args) + end + protected def method_missing(*args, &block) |