1. 21 8月, 2020 2 次提交
  2. 19 8月, 2020 2 次提交
    • P
      Fix small typo in configuring guide [skip ci] · 6bf5c2af
      Petrik 提交于
      6bf5c2af
    • J
      update generation instructions for consistency · d27a2a92
      Jeff McAffer 提交于
      New to Rails but looks like everything for an engine should be done inside the engine's folder. The updated text has been there for a long time so I hope I'm not just missing something. At this point in the example the user does not have an application (that comes in the next section) and elsewhere in the doc there is talk of the importance of running the commands from the *engine* root so it seems more consistent to talk about "engine root" as updated.
      d27a2a92
  3. 18 8月, 2020 1 次提交
    • P
      Use headings to make Action Cable terminology more clear [skip ci] · 6217244b
      Petrik 提交于
      The Terminology section of the Action Cable guide currently is one large
      text without any headings. Instead of having one large text, we can use
      headings to describe all terminology for easier scanability and improved
      table of contents.
      
      The Broadcastings section mentions Pub/Sub so it's moved beneath the Pub/Sub
      section.
      
      The following part is moved up to the Connections terminology section.
      It makes more sense to have it where it introduces the term.
      > Connections form the foundation of the client-server relationship.
      6217244b
  4. 15 8月, 2020 4 次提交
  5. 13 8月, 2020 1 次提交
    • S
      Added docs for habtm association about the declaring model referring to zero or more associations · 810f2a65
      Sandip Mane 提交于
      parent f4471fc7
      author Sandip Mane <sandip.mane@bigbinary.com> 1593247595 +0530
      committer Sandip Mane <sandip2490@gmail.com> 1597253412 +0530
      
      Adds doc for habtm association for always optional: true
      
      Added docs line under definition of habtm with a text containing habtm refers to zero or more associations
      
      Added docs line under definition of habtm with a text containing it refers to zero or more associations
      
      Updated the sentence to include declaring association for habtm relation
      810f2a65
  6. 12 8月, 2020 2 次提交
  7. 08 8月, 2020 1 次提交
  8. 07 8月, 2020 1 次提交
  9. 04 8月, 2020 3 次提交
  10. 03 8月, 2020 1 次提交
  11. 02 8月, 2020 1 次提交
    • J
      Add baseline defaults section [ci skip] · ff881137
      Jonathan Hefner 提交于
      Mentioning the baseline default for a config option can be confusing
      when that default is overridden by `config.load_defaults`.  To avoid
      that confusion, this commit relocates such baseline defaults from their
      explanatory paragraphs to a "Baseline defaults" section that flows with
      the other `config.load_defaults` sections.
      
      Ideally, when we override other baseline defaults in the future, we will
      relocate mention of them as done here.
      
      Closes #39387.
      ff881137
  12. 01 8月, 2020 1 次提交
  13. 31 7月, 2020 1 次提交
  14. 30 7月, 2020 1 次提交
  15. 29 7月, 2020 1 次提交
  16. 28 7月, 2020 1 次提交
  17. 27 7月, 2020 2 次提交
    • G
      Fix highlighting for mostly SQL block · c14da7be
      Gerard (Gerry) Caulfield 提交于
      When using Rouge's Console lexer it expects all ignored line breaks to
      be proceeded by a backslash. In this code block as we are switching to
      Mysql's command line which doesn't need a backslash. This leads to the
      lexer breaking and all the lines ending up in a confusing mess.
      
      However the sql syntax actually works much better for this block
      anyway.
      
      This line here shows why what we were trying to do wouldn't work with
      Rouge:
      https://github.com/rouge-ruby/rouge/blob/844c0eeddf7626605fa04b901df6c15c953811d6/lib/rouge/lexers/console.rb#L106
      c14da7be
    • G
      Add back support for other syntax highlighting · 17a4ec1c
      Gerard (Gerry) Caulfield 提交于
      We recently switched to use Rouge for syntax highlighting in the guides,
      but in doing so we dropped support for highlighting the following
      syntaxes, which are used in the guides:
      
      apache
      diff
      json
      markdown
      nginx
      scss
      xml
      
      There was also css and the "javascript" alias, but @eugeneius already
      addressed these two.
      
      They syntaxes were all being converted to "plaintext". This change allows
      all the lexers mentioned above as well as any other lexers available
      through Rouge.
      
      We have deliberately decided to not support passing rougue custom lexer
      options from the code fences. Instead any lexer options that are needed
      can be set by adding an entry to the lexer_language case statement. This
      should lead to more consistency in formatting and gives us more control
      over what Rogue options are allowed.
      17a4ec1c
  18. 25 7月, 2020 1 次提交
    • J
      Add label attribute to <option> from include_blank · e6950a33
      Jonathan Hefner 提交于
      The `:include_blank` option of various `<select>`-related helpers causes
      an `<option>` element with no content to be rendered.  However, the
      [HTML spec] says that unless an `<option>` element has a `label`
      attribute (which must be non-empty), its content must be "Text that is
      not inter-element whitespace."
      
      In #24923, this issue was addressed for `select_tag` by adding a `label`
      attribute to the `<option>`.  This commit addresses the issue in the
      same manner for `FormBuilder#select` and various date / time select
      helpers.
      
      [HTML spec]: https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element
      e6950a33
  19. 22 7月, 2020 1 次提交
  20. 19 7月, 2020 1 次提交
  21. 18 7月, 2020 1 次提交
  22. 16 7月, 2020 1 次提交
  23. 15 7月, 2020 1 次提交
  24. 14 7月, 2020 1 次提交
  25. 13 7月, 2020 2 次提交
  26. 11 7月, 2020 1 次提交
  27. 10 7月, 2020 1 次提交
  28. 09 7月, 2020 3 次提交