这两项任务有什么区别? 最佳答案
# from assets.rake
desc "Compile all the assets named in config.assets.precompile"
task :precompile do
invoke_or_reboot_rake_task "assets:precompile:all"
end
看起来你可以省略:all.
这两项任务有什么区别? 最佳答案
# from assets.rake
desc "Compile all the assets named in config.assets.precompile"
task :precompile do
invoke_or_reboot_rake_task "assets:precompile:all"
end
看起来你可以省略:all.