diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-10-09 07:34:56 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-10-09 07:34:56 -0700 |
commit | 1774ec7464877cfb2e0900344deff17c78bc491f (patch) | |
tree | 8185334baf7d75b9436863cf1078ba6cd38fdfc0 /railties/lib/rails/generators/resource_helpers.rb | |
parent | 2ed66feae0e04c5ab5445fe3a9d7b182b10f6f1a (diff) | |
parent | ca219a21b60ea20868deab20afaa0335d32f1c17 (diff) | |
download | rails-1774ec7464877cfb2e0900344deff17c78bc491f.tar.gz rails-1774ec7464877cfb2e0900344deff17c78bc491f.tar.bz2 rails-1774ec7464877cfb2e0900344deff17c78bc491f.zip |
Merge pull request #3266 from arunagw/warnings_removed
Warnings removed when running with 1.9.3
Diffstat (limited to 'railties/lib/rails/generators/resource_helpers.rb')
-rw-r--r-- | railties/lib/rails/generators/resource_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/resource_helpers.rb b/railties/lib/rails/generators/resource_helpers.rb index de01c858dd..b34bc4a524 100644 --- a/railties/lib/rails/generators/resource_helpers.rb +++ b/railties/lib/rails/generators/resource_helpers.rb @@ -65,7 +65,7 @@ module Rails begin "#{options[:orm].to_s.classify}::Generators::ActiveModel".constantize - rescue NameError => e + rescue NameError Rails::Generators::ActiveModel end end |