1. 12 3月, 2019 1 次提交
  2. 07 3月, 2019 1 次提交
  3. 15 1月, 2019 1 次提交
  4. 14 11月, 2018 2 次提交
    • E
      fix typo on association_basics.md [ci skip] · 9b0b066e
      Espartaco Palma 提交于
      9b0b066e
    • M
      Describe how has_many's :dependent option affects #delete · 39806b6d
      Marcel M. Cary 提交于
      I was puzzled about why `collection=` was destroying the removed
      records on an association with `dependent: :destroy`, even after
      consulting the documentation for that option.  I had to dive into the
      Active Record source to understand what was going on: eventually
      `collection=` calls `collection.delete` on the ousted records, and it
      also uses the `:dependent` option to decide how to remove records.
      
      It would have helped me to have mention of this in the documentation for
      `:dependent`, not just under `collection.delete` (which I found much
      later).
      
      Briefly mention the broader impacts of `:dependent` in the Association
      Basics guide.
      
      [ci skip]
      39806b6d
  5. 29 10月, 2018 1 次提交
  6. 23 10月, 2018 1 次提交
    • R
      [ci skip] Fix #33914 · b2e74b36
      Raghu Kamat 提交于
      This commit removes the dependent: :destroy option from the belong_to example since there is a warning associated with the usage of dependent: :destroy along with belongs_to. Based on the feedback on the issue #33914, I  replaced dependent: :destroy with touch: :books_updated_at which will make the example consistent with the example that already exists on that page.
       * Also Removing the touch option from the belong_to scopes example as the option doesnt have any relation to association scope.
      b2e74b36
  7. 17 10月, 2018 1 次提交
  8. 21 9月, 2018 1 次提交
  9. 24 7月, 2018 1 次提交
  10. 22 7月, 2018 1 次提交
  11. 19 7月, 2018 1 次提交
  12. 18 7月, 2018 2 次提交
  13. 11 5月, 2018 1 次提交
    • A
      Added a lot of Oxford commas · 25867024
      Anthony Crumley 提交于
      [ci skip] A regular expression was used to find a lot of missing Oxford
      commas and add them.  The regular expression was as follows.
      
      ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
      25867024
  14. 14 4月, 2018 1 次提交
  15. 31 3月, 2018 1 次提交
  16. 01 3月, 2018 1 次提交
  17. 26 1月, 2018 1 次提交
  18. 19 1月, 2018 1 次提交
  19. 11 1月, 2018 1 次提交
  20. 15 12月, 2017 1 次提交
  21. 21 9月, 2017 1 次提交
  22. 24 8月, 2017 2 次提交
  23. 09 8月, 2017 1 次提交
  24. 08 8月, 2017 1 次提交
  25. 10 6月, 2017 1 次提交
  26. 09 6月, 2017 1 次提交
  27. 25 5月, 2017 1 次提交
  28. 24 5月, 2017 1 次提交
  29. 06 3月, 2017 1 次提交
  30. 03 3月, 2017 1 次提交
  31. 03 1月, 2017 1 次提交
    • D
      Clarify Bi-directional Associations docs · 186327f7
      David Sherline 提交于
      Rails automatically finds bi-directional associations between models
      with well-named associations. However, when using non-standard naming,
      you have to use :inverse_of to explicitly tell Rails about the bi-
      directional association.
      
      With reference to #27516
      
      [ci skip]
      186327f7
  32. 26 10月, 2016 1 次提交
  33. 07 9月, 2016 1 次提交
  34. 02 9月, 2016 1 次提交
  35. 27 5月, 2016 1 次提交
  36. 28 3月, 2016 1 次提交
  37. 12 3月, 2016 1 次提交