1. 17 1月, 2019 1 次提交
  2. 15 1月, 2019 1 次提交
  3. 14 1月, 2019 2 次提交
    • B
      Fix "Action Cable Overview" guide [ci skip] · c5093029
      bogdanvlviv 提交于
      Fix path to channel files.
      
      `rails generate channel Chat` generates `app/javascript/channels/chat_channel.js`.
      See also,
      railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt,
      actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt
      by default `application.js` imports "channels", where
      `app/javascript/channels/index.js` loads all the channels within
      this directory and all subdirectories.
      
      Follow up #34709
      Related to #33079
      c5093029
    • B
      Merge `actioncable/README.md` to the Action Cable Overview guide [ci skip] · 8e7d9ce8
      bogdanvlviv 提交于
      In #34709 we updated the guide, but `actioncable/README.md` is still
      outdated. Instead of fixing content in the file. I suggest
      not duplicate the info that is already in the guide and instead remove
      the info from the file and just add a message:
      "You can read more about Action Cable in the
      [Action Cable Overview](https://edgeguides.rubyonrails.org/action_cable_overview.html) guide."
      
      The same approach is being used for Action Mailbox and Action Text,
      see #34812 and #34878.
      8e7d9ce8
  4. 11 1月, 2019 1 次提交
  5. 05 1月, 2019 1 次提交
  6. 10 11月, 2018 1 次提交
  7. 08 10月, 2018 1 次提交
  8. 24 7月, 2018 1 次提交
  9. 15 12月, 2017 1 次提交
  10. 23 11月, 2017 1 次提交
  11. 26 10月, 2017 1 次提交
  12. 24 10月, 2017 1 次提交
  13. 06 10月, 2017 1 次提交
  14. 08 8月, 2017 1 次提交
    • C
      [ci skip] Prefer cookies.encrypted over signed (#30129) · af954ddd
      Claudio B 提交于
      In some examples and guides we are recommending to use code like:
      
      ```ruby
      verified_user = User.find_by(id: cookies.signed[:user_id])
      ```
      
      My suggestion is to use instead:
      
      ```ruby
      verified_user = User.find_by(id: cookies.encrypted[:user_id])
      ```
      
      which invites users to prefer the "newer" encrypted cookies over the
      "legacy" signed cookies.
      af954ddd
  15. 25 3月, 2017 1 次提交
  16. 19 1月, 2017 1 次提交
  17. 18 1月, 2017 1 次提交
  18. 25 12月, 2016 1 次提交
  19. 14 10月, 2016 1 次提交
  20. 13 10月, 2016 1 次提交
  21. 05 10月, 2016 1 次提交
  22. 12 8月, 2016 3 次提交
  23. 11 7月, 2016 1 次提交
  24. 05 7月, 2016 1 次提交
    • J
      Add header demarcation to Action Cable guide · 41c3ebaf
      Josh Justice 提交于
      Guide generation is configured to detect a guide header by a 40-or-more-hyphen long line. The Action Cable guide was missing this line, so the page title on the guides site was only showing "Ruby on Rails Guides", and the section title in the Kindle index was "Ruby on Rails Guides". Adding the header demarcation line back in fixes both of these.
      
      Fixes #25697
      
      [ci skip]
      41c3ebaf
  25. 16 6月, 2016 1 次提交
  26. 08 6月, 2016 1 次提交
  27. 29 5月, 2016 2 次提交
  28. 27 5月, 2016 1 次提交
  29. 15 5月, 2016 1 次提交
  30. 08 5月, 2016 1 次提交
  31. 07 5月, 2016 1 次提交
  32. 15 4月, 2016 1 次提交
  33. 10 4月, 2016 1 次提交
  34. 05 4月, 2016 1 次提交
  35. 08 3月, 2016 1 次提交
  36. 28 2月, 2016 1 次提交