aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-06-14 15:27:03 -0700
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-06-14 15:27:03 -0700
commit5529ff8d91ac4bff67aaad4762ba3c8156c3a6ec (patch)
tree0a4cfa887681ceca23afe97171b751509cc9d164
parent9fb17c9093bc49e2e3f5cf7b5655baf507ab45ed (diff)
parent53edda2235952f064f04e6ef9af7ae7c106454b0 (diff)
downloadrails-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.rake2
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