Skip to content
Browse files

fix ambiguous * and remove unused variable

  • Loading branch information...
1 parent 32836e7 commit 68424fb1cf45acda3ad1daef30136f3bcd4f9f9d @tenderlove tenderlove committed Aug 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators.rb
View
4 railties/lib/rails/generators.rb
@@ -77,7 +77,7 @@ def self.configure!(config) #: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
@@ -313,7 +313,7 @@ def self.lookup! #:nodoc:
begin
path = path.sub("#{base}/", "")
require path
- rescue Exception => e
+ rescue Exception
# No problem
end
end

0 comments on commit 68424fb

Please sign in to comment.
Something went wrong with that request. Please try again.