Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix ambiguous * and remove unused variable

  • Loading branch information...
commit 50db00dc7eae30fbbdf26b9f2abdf978f443bad3 1 parent 7e80394
@tenderlove tenderlove authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators.rb
View
4 railties/lib/rails/generators.rb
@@ -75,7 +75,7 @@ def self.configure!(config = Rails.application.config.generators) #:nodoc:
fallbacks.merge! config.fallbacks
templates_path.concat config.templates
templates_path.uniq!
- hide_namespaces *config.hidden_namespaces
+ hide_namespaces(*config.hidden_namespaces)
end
def self.templates_path
@@ -317,7 +317,7 @@ def self.lookup! #:nodoc:
begin
path = path.sub("#{base}/", "")
require path
- rescue Exception => e
+ rescue Exception
# No problem
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.