diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-10-10 15:03:57 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-14 07:46:12 +0200 |
commit | f07cbec865093c30299ad038d52e3e70e2527848 (patch) | |
tree | 030788ff1cbda52a8be38de766b36a61fe88d5ce /railties/lib | |
parent | ab1a66153360231e60c2c115aff599dcd314e309 (diff) | |
download | rails-f07cbec865093c30299ad038d52e3e70e2527848.tar.gz rails-f07cbec865093c30299ad038d52e3e70e2527848.tar.bz2 rails-f07cbec865093c30299ad038d52e3e70e2527848.zip |
Do not treat information about skipped migrations as WARNINGs but as a NOTEs, also puts to stdin
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/engine.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index e9ce9610b8..86a8374ded 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -547,6 +547,12 @@ module Rails Rake::Task["railties:install:migrations"].invoke end end + + desc "Copy assets from #{railtie_name} to application" + task :assets do + ENV["FROM"] = railtie_name + Rake::Task["railties:install:assets"].invoke + end end end |