rails中的load_path和auto load_path有什么区别?
答
我想你的意思autoload_paths
:
从文档:
config.autoload_paths接受的附加路径的数组时,预先准备的负载路径。默认情况下,所有应用程序,lib,供应商和模拟路径都包含在此列表中。