Skip to content
  • Takumasa Ochi's avatar
    23cc9229
    Ensure only directories exist in Rails default load paths · 23cc9229
    Takumasa Ochi authored
    Previously, some files put under `app` directory would contaminate the load paths.
    This commit removes files from the default load paths set up by the Rails framework.
    
    Now, only directories are included as default in the following paths:
    
    * autoload_paths
    * autoload_once_paths
    * eager_load_paths
    * load_paths
    23cc9229
    Ensure only directories exist in Rails default load paths
    Takumasa Ochi authored
    Previously, some files put under `app` directory would contaminate the load paths.
    This commit removes files from the default load paths set up by the Rails framework.
    
    Now, only directories are included as default in the following paths:
    
    * autoload_paths
    * autoload_once_paths
    * eager_load_paths
    * load_paths
Loading