What is difference between load_path & auto load_path in rails?
What is difference between load path & auto load path? if i have added any dir 开发者_Go百科to auto-load path then should i need to require that file in my code?
I assume you meant autoload_paths
:
From documentation:
config.autoload_paths accepts an array of additional paths to prepend to the load path. By default, all app, lib, vendor and mock paths are included in this list.
Source
精彩评论