diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-06-14 15:27:03 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-06-14 15:27:03 -0700 |
commit | 5529ff8d91ac4bff67aaad4762ba3c8156c3a6ec (patch) | |
tree | 0a4cfa887681ceca23afe97171b751509cc9d164 | |
parent | 9fb17c9093bc49e2e3f5cf7b5655baf507ab45ed (diff) | |
parent | 53edda2235952f064f04e6ef9af7ae7c106454b0 (diff) | |
download | rails-5529ff8d91ac4bff67aaad4762ba3c8156c3a6ec.tar.gz rails-5529ff8d91ac4bff67aaad4762ba3c8156c3a6ec.tar.bz2 rails-5529ff8d91ac4bff67aaad4762ba3c8156c3a6ec.zip |
Merge pull request #10950 from appscape-forks/fix-wrong-method-name
Fix wrong method name
-rw-r--r-- | railties/lib/rails/tasks/framework.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/framework.rake b/railties/lib/rails/tasks/framework.rake index 2116330b45..76a95304c3 100644 --- a/railties/lib/rails/tasks/framework.rake +++ b/railties/lib/rails/tasks/framework.rake @@ -47,7 +47,7 @@ namespace :rails do gen = Rails::Generators::AppGenerator.new ["rails"], { with_dispatchers: true }, destination_root: Rails.root File.exists?(Rails.root.join("config", "application.rb")) ? - gen.send(:app_const) : gen.send(:valid_app_const?) + gen.send(:app_const) : gen.send(:valid_const?) gen end end |