aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/autoloading_and_reloading_constants.md
Commit message (Collapse)AuthorAgeFilesLines
* restores original intention in constants guide, reworded [ci skip]Xavier Noria2018-05-061-4/+6
| | | | | | | | | | | | | | | | | | | | | | | Once all technicalities have been introduced, the purpose of this paragraph is to precisely unroll expressions like "the String class". That way, the reader is forced to clearly separate concepts that Ruby programmers often have kind of blurred: * Constants are storage, like variables. * Ruby does not have syntax for class or module names. * `String` is a regular constant that holds a value. In this case, the value happens to be a class object. * Constants are stored in class and module objects. In the case of `String`, the holder is the class object stored in the `Object` constant. Understanding that paragraph the way is written is important to accomplish this objective. References #32818.
* Remove confusion in the sentence [ci skip]Santosh Wadghule2018-05-041-3/+3
|
* Remove parentheses [ci skip]Yauheni Dakuka2018-02-121-1/+1
|
* Correct capitalization of "Rails" in the guide text.Tim Diggins2018-02-031-6/+6
| | | | correction to #31755 as per https://github.com/rails/rails/pull/31755#discussion_r165819798
* Fix typoSam Yamashita2018-01-311-1/+1
|
* Clarify autoload_paths and eager_load in guides per current usage. [CI SKIP]Tim Diggins2018-01-211-11/+30
|
* updates autoloading guide for Ruby 2.5 [ci skip]Xavier Noria2017-11-011-1/+9
|
* Fix quotes [ci skip]Yauheni Dakuka2017-09-181-4/+4
|
* Update result of autoload_paths in Autoloading and Reloading Constants guide ↵Yoshiyuki Hirano2017-08-211-1/+10
| | | | [ci skip]
* Correct Autoloading and STI guide (issue #26994)Kevin Reintjes2017-04-061-9/+8
|
* autoloading guide: specify autoload paths are set when the app boots [ci skip]Xavier Noria2016-05-261-3/+4
|
* Fix small typos [ci skip]Tom Copeland2016-04-201-2/+2
|
* ApplicationRecord documentation passGenadi Samokovarov2015-12-171-4/+4
| | | | | | | This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip]
* Update autoloading_and_reloading_constants.mdpavlos2015-12-011-1/+1
| | | Fixed a typo
* Fix typo: "in" should be "is"Rémy Coutable2015-11-111-1/+1
|
* Fix the wrong documentation about config.autoload_paths [ci skip]Mehmet Emin İNAÇ2015-04-131-3/+1
| | | | config.autoload_paths is not changeable from environment specific configuration files.
* Some documentation edits [ci skip]Robin Dupret2015-03-051-1/+4
| | | | | | * Fix a few typos * Wrap some lines around 80 chars * Rephrase some statements
* constants guide: adds a step to a resolution algorithmXavier Noria2015-02-181-1/+3
| | | | | Not sure how this one slipped, maybe deleted by accident while editing or something. Anyway, fixed.
* Fix a typo in autoloading doc and note on autoload_paths [ci skip]jafrog2015-02-021-1/+2
|
* Fix grammar in Qualified Constants sectionAlex Johnson2015-01-291-1/+1
| | | | | New wording is based on the "cref" sentence earlier in the section. [ci skip]
* [ci skip] Fix what is pushed to nesting about eval familyyui-knk2015-01-241-2/+3
|
* constants guide: make assumption explicit in an example [closes #18465] [ci ↵Xavier Noria2015-01-231-0/+10
| | | | skip]
* Merge pull request #18576 from yui-knk/fix/autoload4Santiago Pastorino2015-01-181-3/+2
|\ | | | | [ci skip] Move a introduction of `Module.nesting`
| * [ci skip] Move a introduction of `Module.nesting`yui-knk2015-01-181-3/+2
| | | | | | | | | | Move a introduction of `Module.nesting` to the beginning of sentence. This change will help reader to try to dump `nesting`.
* | [ci skip] fix positions of parenthesesyui-knk2015-01-181-5/+5
|/
* [ci skip] Change to the passive voiceyui-knk2015-01-171-1/+1
|
* Merge pull request #18503 from vipulnsward/guides-in-onXavier Noria2015-01-141-1/+1
|\ | | | | Changed `IN` to `ON` in markdown renderer condition
| * - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | | | | | - Changed `IN` to `ON` in all note sentences in guides.
* | fix link in autoloading guide [ci skip]yuuji.yaginuma2015-01-141-1/+1
|/
* Fix a few typos [ci skip]Robin Dupret2014-12-241-4/+5
|
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Renaming the autoloading guide [ci skip]Vijay Dev2014-12-201-0/+1297
The term 'constant autoloading' can be mistakenly construed as 'constantly autoloading'.