1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Brian Lesperance
1cd20bd384
Fix grammar 2021-01-05 12:36:47 -06: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
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
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
Petrik
c695ef7b2f Fix strange sentence in classic_mode guide [skip ci]
The following sentence doesn't make sense:

  But using `autoload_paths` on its own  in the past (before Rails 5)
  developers might configure `autoload_paths` to add in extra locations...

This changes it to the following:

  Before Rails 5 developers might configure `autoload_paths` to add in
  extra locations...

It also formats the text to use shorter line lengths.
2020-09-03 11:55:19 +02:00
Brandon Zylstra
b35935fa15
consistent syntax for items in list
The majority of items in this list are clauses that complete the sentence "...you will know...".  But the 2nd item was an independent question with its own question mark, and the other changed one had the syntax of a question despite lacking a question mark.
2020-08-22 12:20:43 -04:00
David Heinemeier Hansson
3e0cdbeaf4
require, require_relative, load by double quotes (#38841)
* require, require_relative, load by double quotes

We're getting rid of all single quote usage, unless it serves a specific purpose, as per the general style guide.
2020-03-29 16:30:52 -07:00
Haroon Ahmed
db1ae8cbb4 remove reference to global rails command and replace with bin/rails 2019-12-27 19:32:37 +00:00
Petrik
90c720a8b4 Don't use rails command shortcuts in guides [ci skip]
Use the full rails commands instead of the shortcuts in the guides.
This makes things clearer for new users.
2019-12-20 10:59:25 +01:00
Xavier Noria
fe3db2a14e Documents another gotcha of classic autoloading [skip ci]
Co-Authored-By: Hirofumi Wakasugi <baenej@gmail.com>
2019-12-18 19:18:26 +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
Xavier Noria
43863bfc57 let environments configure load-related paths
Co-authored-by: Allen Hsu <allen.hsusp@gmail.com>
2019-11-06 20:40:39 +01:00
Benjamin Bock
19128e23a9
Fix typo [ci skip] 2019-09-03 20:54:50 +02:00
Xavier Noria
2fe20cb55c fixes link [skip ci] 2019-07-10 09:11:33 +02:00
Xavier Noria
9f210d18a7 renames and revises the autoloading guide for classic mode [skip ci] 2019-07-09 19:57:45 +02:00