1. 09 3月, 2019 1 次提交
  2. 07 3月, 2019 7 次提交
  3. 05 3月, 2019 1 次提交
    • R
      Fix guide to use correct number of files created by controller generator · d29b8fbb
      rmacklin 提交于
      In e8546aba, the Getting Started guide
      was updated to reflect the removal of CoffeeScript stubs being generated
      by the controller generator. However, the comment above the table of
      generated files wasn't updated, so it incorrectly remained "This creates
      five files and one empty directory". This fixes it to now say "This
      creates four files and one empty directory".
      d29b8fbb
  4. 28 2月, 2019 1 次提交
  5. 24 2月, 2019 1 次提交
  6. 23 2月, 2019 2 次提交
  7. 20 2月, 2019 2 次提交
  8. 19 2月, 2019 4 次提交
  9. 14 2月, 2019 1 次提交
  10. 11 2月, 2019 4 次提交
  11. 07 2月, 2019 1 次提交
  12. 05 2月, 2019 1 次提交
  13. 04 2月, 2019 1 次提交
    • U
      Update template missing text in Guide · 744ef604
      utilum 提交于
      Changes the Getting Started guide explanation for
      `ActionController::MissingExactTemplate` error, to reflect the current message.
      
      Follow up for #29286, #35148
      
      [ci skip]
      744ef604
  14. 03 2月, 2019 1 次提交
    • G
      Cleanup the whitelisting references after #33145 · ca62dfee
      Genadi Samokovarov 提交于
      During the development of #33145, I have named a few concepts in the
      code as `whitelisted`. We decided to stay away from the term and I
      adjusted most of the code afterwards, but here are the cases I forgot to
      change.
      
      I also found a case in the API guide that we could have cleaned up as
      well.
      
      [ci skip]
      ca62dfee
  15. 02 2月, 2019 2 次提交
  16. 30 1月, 2019 1 次提交
  17. 27 1月, 2019 1 次提交
  18. 26 1月, 2019 1 次提交
  19. 25 1月, 2019 2 次提交
  20. 23 1月, 2019 3 次提交
    • A
      6d6be1f1
    • V
      fix fixture syntax in cable docs and guides · cfe65cb4
      Vladimir Dementyev 提交于
      cfe65cb4
    • V
      Move `channel_name` to Channel.broadcasting_for · dc80459a
      Vladimir Dementyev 提交于
      That would allow us to test broadcasting made with channel, e.g.:
      
      ```ruby
      class ChatRelayJob < ApplicationJob
        def perform_later(room, msg)
          ChatChannel.broadcast_to room, message: msg
        end
      end
      ```
      
      To test this functionality we need to know the underlying stream name
      (to use `assert_broadcasts`), which relies on `channel_name`.
      
      We had to use the following code:
      
      ```ruby
      assert_broadcasts(ChatChannel.broadcasting_for([ChatChannel.channel_name, room]), 1) do
        ChatRelayJob.perform_now
      end
      ```
      
      The problem with this approach is that we use _internal_ API (we shouldn't care about `channel_name` prefix
      in our code).
      
      With this commit we could re-write the test as following:
      
      ```ruby
       assert_broadcasts(ChatChannel.broadcasting_for(room), 1) do
         ChatRelayJob.perform_now
       end
      ```
      dc80459a
  21. 22 1月, 2019 1 次提交
  22. 20 1月, 2019 1 次提交