aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/CHANGELOG2
-rw-r--r--railties/lib/tasks/framework.rake3
2 files changed, 5 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 4e755b4d50..4c93973cc2 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Added that rails:update is run when you do rails:freeze:edge to ensure you also get the latest JS and config files #10565 [jeff]
+
* SQLite: db:drop:all doesn't fail silently if the database is already open. #10577 [Cheah Chu Yeow, mrichman]
* Introduce native mongrel handler and push mutex into dispatcher. [Jeremy Kemper]
diff --git a/railties/lib/tasks/framework.rake b/railties/lib/tasks/framework.rake
index 77f74aa156..891f901fe9 100644
--- a/railties/lib/tasks/framework.rake
+++ b/railties/lib/tasks/framework.rake
@@ -69,6 +69,9 @@ namespace :rails do
for framework in %w(railties actionpack activerecord actionmailer activesupport activeresource)
system "svn export #{rails_svn}/#{framework} vendor/rails/#{framework}" + (ENV['REVISION'] ? " -r #{ENV['REVISION']}" : "")
end
+
+ puts "Updating current scripts, javascripts, and configuration settings"
+ Rake::Task["rails:update"].invoke
end
end