diff options
| author | Rafael França <rafaelmfranca@gmail.com> | 2016-04-05 23:55:51 -0300 | 
|---|---|---|
| committer | Rafael França <rafaelmfranca@gmail.com> | 2016-04-05 23:55:51 -0300 | 
| commit | e2df1c6d2aa1dd667c6c1be25d5c7f7d69f293fa (patch) | |
| tree | f6ff6a24449497cf38ec6a3ed93e68c0d6df14b3 | |
| parent | 9f6bb612799b6ede0212ab0f8d9176a1577bb75c (diff) | |
| parent | a05fd2d4a8fbeaef8ac5cb82068235f855ae8039 (diff) | |
| download | rails-e2df1c6d2aa1dd667c6c1be25d5c7f7d69f293fa.tar.gz rails-e2df1c6d2aa1dd667c6c1be25d5c7f7d69f293fa.tar.bz2 rails-e2df1c6d2aa1dd667c6c1be25d5c7f7d69f293fa.zip  | |
Merge pull request #24433 from kamipo/avoid_unused_capture
Avoid unused capture
| -rw-r--r-- | activesupport/lib/active_support/core_ext/marshal.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/marshal.rb b/activesupport/lib/active_support/core_ext/marshal.rb index 5875ae5f71..edfc8296fe 100644 --- a/activesupport/lib/active_support/core_ext/marshal.rb +++ b/activesupport/lib/active_support/core_ext/marshal.rb @@ -3,7 +3,7 @@ module ActiveSupport      def load(source)        super(source)      rescue ArgumentError, NameError => exc -      if exc.message.match(%r|undefined class/module (.+?)(::)?\z|) +      if exc.message.match(%r|undefined class/module (.+?)(?:::)?\z|)          # try loading the class/module          loaded = $1.constantize  | 
