Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove redundant line #175

Closed
wants to merge 1 commit into from

1 participant

@brainopia

Following line is redundant and I've removed it from dependencies.rb:

rescue NoMethodError then raise 
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 29, 2011
  1. @brainopia

    Remove redundant line

    brainopia authored
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1  activesupport/lib/active_support/dependencies.rb
View
1  activesupport/lib/active_support/dependencies.rb
@@ -181,7 +181,6 @@ def const_missing(const_name, nesting = nil)
nesting.each do |namespace|
begin
return Dependencies.load_missing_constant Inflector.constantize(namespace), const_name
- rescue NoMethodError then raise
rescue NameError => e
error ||= e
end
Something went wrong with that request. Please try again.