1. 20 12月, 2019 1 次提交
    • P
      Use the 'What is FRAMEWORK?' title for all framework guides [ci skip] · c711edb2
      Petrik 提交于
      Action View, Active Record and Active Storage use the 'What is
      FRAMEWORK?' title for the framework introduction, the other frameworks
      use 'Introduction'. The 'What is' form is more descriptive and better
      for SEO.
      
      This change makes the titles more consistent by using the 'What is
      FRAMEWORK?' title for the other frameworks.
      c711edb2
  2. 07 10月, 2019 1 次提交
  3. 01 10月, 2019 1 次提交
  4. 14 9月, 2019 1 次提交
  5. 10 9月, 2019 1 次提交
    • K
      Serialize classes and modules with ActiveJob · fbebeabd
      Kevin Deisz 提交于
      This commit allows ActiveJob to serialize classes and modules without a custom serializer. This allows for workflows like:
      
      ```
      class EmailJob < ApplicationJob
        queue_as :default
        def perform(template_class, *arguments)
          template_class.new(*arguments).send!
        end
      end
      
      module Email
        class FooTemplate ... end
        class BarTemplate ... end
      end
      
      EmailJob.perform_later(Email::FooTemplate, ...)
      EmailJob.perform_later(Email::BarTemplate, ...)
      ```
      
      Currently this is only achieveable through a custom serializer or through constantizing in each instance.
      fbebeabd
  6. 07 3月, 2019 1 次提交
  7. 29 11月, 2018 1 次提交
  8. 19 11月, 2018 1 次提交
  9. 24 7月, 2018 1 次提交
  10. 07 7月, 2018 1 次提交
    • A
      Recommend use of rails over bin/rails · 40b209db
      Alberto Almagro 提交于
      As discussed in #33203 rails command already looks for, and runs,
      bin/rails if it is present.
      
      We were mixing recommendations within guides and USAGE guidelines,
      in some files we recommended using rails, in others bin/rails and
      in some cases we even had both options mixed together.
      40b209db
  11. 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
  12. 16 3月, 2018 1 次提交
  13. 09 3月, 2018 1 次提交
  14. 18 2月, 2018 2 次提交
  15. 17 2月, 2018 1 次提交
  16. 15 2月, 2018 5 次提交
  17. 18 9月, 2017 2 次提交
  18. 14 9月, 2017 1 次提交
  19. 24 8月, 2017 1 次提交
  20. 10 8月, 2017 1 次提交
  21. 03 8月, 2017 1 次提交
  22. 10 5月, 2017 3 次提交
  23. 19 3月, 2017 1 次提交
  24. 19 8月, 2016 1 次提交
  25. 13 6月, 2016 1 次提交
  26. 20 4月, 2016 1 次提交
  27. 05 2月, 2016 1 次提交
  28. 05 1月, 2016 1 次提交
  29. 09 11月, 2015 1 次提交
  30. 17 10月, 2015 1 次提交
  31. 07 10月, 2015 1 次提交
  32. 13 8月, 2015 1 次提交
    • D
      [ci skip] How to pass arguments to ActiveJob Jobs · 8b2f4189
      Dhia Eddine Chouchane 提交于
      A section explaining how to pass arguments to Jobs has been added.
      
      [ci skip] How to pass arguments to ActiveJob Jobs
      
      Removed the "how to pass arguments" from what you will know section
      
      [ci skip] improving Enqueue Job section
      
      Using GuestsCleanupJob rather than MyJob for coherence.
      
      [ci skip] Passing args section merged with enqueuing jobs
      
      Passing args is now explained through examples withing Enqueuing the Jobs section
      
      [ci skip] Unnecessary example removed
      
      [ci skip] Typo fixed (missing as)
      8b2f4189