4

这两个任务有什么区别?

4

1 回答 1

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

于 2012-04-18T18:19:45.960 回答