diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-27 21:20:32 +0100 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-01-28 10:28:41 -0800 |
commit | e7418ab63cc4aa024367851f2f692032840cfe76 (patch) | |
tree | e6e104d8622b7237272e1b9ac75a70223f3c867f /railties/lib | |
parent | 64ea3dfd9f14b09b65905a10379050ba2f42d8b8 (diff) | |
download | rails-e7418ab63cc4aa024367851f2f692032840cfe76.tar.gz rails-e7418ab63cc4aa024367851f2f692032840cfe76.tar.bz2 rails-e7418ab63cc4aa024367851f2f692032840cfe76.zip |
Add more tests to some key points in Railties.
Signed-off-by: Carl Lerche <carllerche@mac.com>
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) |