diff options
author | Marc-Andre Lafortune <github@marc-andre.ca> | 2012-05-05 02:24:57 -0400 |
---|---|---|
committer | Marc-Andre Lafortune <github@marc-andre.ca> | 2012-05-05 02:43:41 -0400 |
commit | 3ea70f985b1799c27b907724920e5615018e505d (patch) | |
tree | 1fbdc93902474f4c3f8f515007094015020ec007 /activesupport/lib | |
parent | 206b43a954dc6c6c0b4b3916cade2561413efdb5 (diff) | |
download | rails-3ea70f985b1799c27b907724920e5615018e505d.tar.gz rails-3ea70f985b1799c27b907724920e5615018e505d.tar.bz2 rails-3ea70f985b1799c27b907724920e5615018e505d.zip |
Use respond_to_missing? for OrderedOptions
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/ordered_options.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/ordered_options.rb b/activesupport/lib/active_support/ordered_options.rb index 538e41e0eb..60e6cd55ad 100644 --- a/activesupport/lib/active_support/ordered_options.rb +++ b/activesupport/lib/active_support/ordered_options.rb @@ -36,7 +36,7 @@ module ActiveSupport #:nodoc: end end - def respond_to?(name) + def respond_to_missing?(name, include_private) true end end |