Skip to content
This repository
Browse code

Fix a typo in 'Configuring Rails Applications' guide

- The initializer is called `set_autoload_paths`, not `set_autoload_path`. See https://github.com/rails/rails/blob/master/railties/lib/rails/engine.rb#L506
  • Loading branch information...
commit c026cc254cd1afd2f4f3dbaa6b537ed4c8c5a4f3 1 parent 7712db4
Kamil Śliwak cameel authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  railties/guides/source/configuring.textile
2  railties/guides/source/configuring.textile
Source Rendered
@@ -557,7 +557,7 @@ The error occurred while evaluating nil.each
557 557
558 558 *+set_load_path+* This initializer runs before +bootstrap_hook+. Adds the +vendor+, +lib+, all directories of +app+ and any paths specified by +config.load_paths+ to +$LOAD_PATH+.
559 559
560   -*+set_autoload_path+* This initializer runs before +bootstrap_hook+. Adds all sub-directories of +app+ and paths specified by +config.autoload_paths+ to +ActiveSupport::Dependencies.autoload_paths+.
  560 +*+set_autoload_paths+* This initializer runs before +bootstrap_hook+. Adds all sub-directories of +app+ and paths specified by +config.autoload_paths+ to +ActiveSupport::Dependencies.autoload_paths+.
561 561
562 562 *+add_routing_paths+* Loads (by default) all +config/routes.rb+ files (in the application and railties, including engines) and sets up the routes for the application.
563 563

0 comments on commit c026cc2

Please sign in to comment.
Something went wrong with that request. Please try again.