Jacopo
f51510309c
Fix codespell hiearchy ==> hierarchy
error.
2021-09-27 15:04:48 +02:00
Xavier Noria
53000f3a2d
More example in the docs about STI and autoloading
2021-09-26 22:35:04 +02:00
Xavier Noria
c04cf690f1
Document easier way to preload STIs
2021-09-26 10:20:56 +02:00
geoffreyp7
7b749dcf9d
Minor grammatical improvements
2021-09-19 17:49:11 +10:00
Rafael França
74c93fc353
Merge pull request #43099 from intrip/fix-guides-load-path-click
...
Fix `$LOAD_PATH` link in Autoloading Guides
2021-09-15 13:44:54 -04:00
Xavier Noria
0b15b7d59c
More examples in the autoloading guide
2021-09-04 10:10:36 +02:00
Xavier Noria
39f15e163d
Iterates docs about autoloading during boot
2021-08-26 09:41:10 +02:00
Connor McQuillan
f2fa3ec015
[GUIDES] Fix ActiveJob custom serializer typo
...
Correct `config/initializer/custom_serializers.rb` to
`config/initializers/custom_serializers.rb`.
- Fix typo in guides/source/active_job_basics.md
- Fix 2 typos in guides/source/autoloading_and_reloading_constants.md
2021-08-25 13:50:54 +01:00
Jacopo
dc10f47b7f
Fix $LOAD_PATH
link in Autoloading Guides
...
Clicking on `$LOAD_PATH` link now properly scrolls to the related anchor.
The fix is done by removing the `$` special character to the generated
anchor id.
2021-08-25 14:45:52 +02:00
Xavier Noria
cb0c746b7d
Revises the autoloading guide [skip ci]
2021-08-18 21:37:50 +02:00
Xavier Noria
4b4895e60d
Tweaks wording in guide [skip ci]
...
The way it was written, it was not 100% clear if that was the name
to choose or the one to avoid.
2021-08-18 09:14:21 +02:00
Xavier Noria
667660f2e8
Documents config.autoload_once_paths
2021-08-17 06:33:10 +02:00
Xavier Noria
5e8a26d705
Deletes the guide for classic mode [skip ci]
2021-08-10 12:31:21 +02:00
Xavier Noria
549db9cc19
Document autoloading and engines [skip ci]
2021-08-04 23:41:01 +02:00
Xavier Noria
0d523d8365
Drops support for classic mode
...
This starts a series of patches in which we drop classic mode. The final
result no longer has a const_missing callback, there is no hook/unhook,
and so on.
So, in this patch we remove the ability of configuring classic, but some
of the code that remains will be further refactored.
2021-03-08 05:30:11 +01:00
Henrik Nyh
1c97c5b2c2
Autoloading docs: Grammar/style tweaks
2021-03-07 11:38:42 -05:00
Jonathan Hefner
2addbaf2e6
Merge pull request #41623 from NatMorcos/patch-2
...
[ci skip] Fix typos and grammatical errors in autoloading guide
2021-03-05 10:42:45 -06:00
Nat Morcos
a5b8f00903
Fix typos and grammatical errors in autoloading guide
2021-03-05 11:36:55 -05:00
Nat Morcos
08145c2514
Fix typo in Rails autoloading guide
...
A missing word made the sentence difficult to understand. This PR adds the missing word.
2021-03-04 18:15:27 -05:00
Damian Nelson
e6fd87bda8
Fix grammar for autoloading and reloading doc
2021-02-03 16:17:16 -08:00
Jonathan Hefner
cb0da4f817
Fix typos, grammar, and formatting [ci-skip]
...
This is a collection of minor superficial improvements. It does not
include any significant content changes.
2020-12-28 12:05:53 -06:00
Jonathan Hefner
c008a36492
Merge pull request #40922 from jonathanhefner/guides-split-code-snippets
...
Split code snippets by context [ci-skip]
2020-12-25 11:05:44 -06:00
Jonathan Hefner
cb563a27de
Split code snippets by context [ci-skip]
...
This provides a stronger visual cue that the code in these snippets
belongs in different contexts (e.g. separate files).
2020-12-25 10:53:12 -06:00
Abhay Nikam
12ed0cd806
Fixes typo: dependending -> depending [ci skip]
...
Fixes typo: britle -> brittle [ci skip]
2020-12-22 11:47:35 +05:30
Xavier Noria
4f17445cf5
Improve docs about autoloading and boot time [skip ci]
2020-11-25 17:34:16 +01:00
Jonathan Hefner
3c9d7a268f
Use irb code fences where applicable [ci-skip]
...
Using `irb` code fences and the appropriate prompt syntax results in
better syntax highlighting.
2020-11-01 16:29:18 -06:00
Xavier Noria
18de2ec9fa
edits in the constants guide [skip ci]
2020-10-09 20:18:45 +02:00
Xavier Noria
08c1f4da0b
documents differences zeitwerk vs classic mode [skip ci]
2020-10-09 20:06:39 +02:00
Xavier Noria
ff80d7708d
Fixes case in guides title [skip ci]
2020-10-09 19:03:53 +02:00
Chirag
84d6a0e568
Formats code blocks for better syntax highlighting
2020-08-21 15:47:32 +05:30
Xavier Noria
524d678a03
Document how to reload at boot time [ci skip]
...
Co-authored-by: Haroon Ahmed <haroon.ahmed25@gmail.com>
2020-05-17 10:11:41 +02:00
Ryuta Kamizono
0eebfaef87
Follow up to #38953 [ci skip]
2020-05-05 17:50:36 +09:00
jonathan schatz
e2a4512dc8
fix StiAutoloading example code
...
without the `.unscoped` call this can break if a base model happens to have a default scope.
2020-03-19 16:06:46 -07:00
Xavier Noria
e8c82b5d8f
removes redundant constantize call [skip ci]
...
The following loop constantizes after logging.
2019-12-25 09:22:55 +01:00
Petrik
2e84228d0e
Add missing languages for guides code blocks [ci skip]
...
Some code examples were missing the language used for code highlighting.
2019-12-17 19:38:45 -05:00
Younes SERRAJ
6e6019b9bf
Fixes typo in autoloading_and_reloading_constants guide [ci skip]
...
The javascript directory under app/ is in a singular form (app/javascript) but the documentation was mentionning it in the plural form (app/javascripts).
2019-12-13 15:37:55 +01:00
Nursoltan Saipolda
3ffc3635b9
fix some grammar errors on guide doc.
2019-10-24 15:38:12 +08:00
Xavier Noria
8237c4d330
support for overrides in :zeitwerk mode inflectors
2019-10-10 06:43:10 +02:00
Xavier Noria
245f255318
bump Zeitwerk to 2.2
2019-10-09 21:30:48 +02:00
Ivan Denysov
d122ae6143
Fix typo and simplify autoload paths intro
...
Initially I just wanted to remove _to_ from _We call autoload paths to
the list..._. But this sentence also seemed a little bit overcomplicated
😅
[ci skip]
2019-09-17 23:10:10 +01:00
Xavier Noria
db43f33fbb
renames variable in example [skip ci]
...
This is the conventional name for that parameter.
2019-09-16 11:35:48 +02:00
Xavier Noria
44adb830cc
document how to customize inflections in autoloading [skip ci]
2019-09-16 11:03:11 +02:00
Xavier Noria
8ab4fd12f1
documents how to troubleshoot autoloading in zeitwerk mode
2019-08-13 18:16:03 +02:00
Xavier Noria
841ac6ceb2
6.x -> 6.0 [skip ci]
2019-08-12 23:47:42 +02:00
Xavier Noria
aec2f3828c
6.x -> 6.0 [skip ci]
...
This 6.x seems to be confusing to some people.
2019-08-12 20:08:19 +02:00
blaedj
ec812fc594
Fix typo in autoloading_and_reloading_constants
...
[ci skip]
2019-08-07 09:09:00 -05:00
Swapnil Gourshete
303f415573
typo in word compatibily - autoloading and reloading constants guide
2019-08-03 01:29:35 +05:30
Erik Pearson
fab42177c1
Fix typo in autoload documentation [ci skip]
2019-07-30 12:39:51 -04:00
Xavier Noria
72af2c42a7
completes first version of the new autoloading guide [skip ci]
2019-07-11 21:23:45 +02:00
Xavier Noria
62068c2e19
fixes link [skip ci]
2019-07-10 09:03:15 +02:00