ruby-on-rails – rake资产之间有什么区别:预编译和资产:预编译:全部?

这两项任务有什么区别? 最佳答案

# 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.

点赞