1. 25 8月, 2018 2 次提交
  2. 06 6月, 2018 1 次提交
    • S
      PERF: avoid allocating column names where possible · a46dcb74
      Sam 提交于
      When requesting columns names from database adapters AR:Result
      would dup/freeze column names, this prefers using fstrings which
      cuts down on repeat allocations
      
      Attributes that are retained keep these fstrings around for the long
      term
      
      Note, this has the highest impact on "short" result sets, eg: Topic.first where you can void allocating the number of columns * String.
      a46dcb74
  3. 02 4月, 2018 1 次提交
  4. 06 3月, 2018 2 次提交
  5. 05 3月, 2018 1 次提交
  6. 23 2月, 2018 1 次提交
    • R
      Use private attr_reader · 6d63b5e4
      Ryuta Kamizono 提交于
      Since #32028, Rails 6 requires Ruby 2.3+.
      No longer needed workaround for Ruby 2.2 "private attribute?" warning.
      6d63b5e4
  7. 25 1月, 2018 1 次提交
  8. 09 11月, 2017 6 次提交
  9. 28 10月, 2017 1 次提交
  10. 08 10月, 2017 1 次提交
  11. 20 7月, 2017 1 次提交
  12. 16 7月, 2017 1 次提交
  13. 02 7月, 2017 1 次提交
  14. 01 7月, 2017 1 次提交
  15. 14 5月, 2017 1 次提交
  16. 05 1月, 2017 2 次提交
  17. 14 9月, 2016 1 次提交
  18. 08 8月, 2016 1 次提交
  19. 07 8月, 2016 2 次提交
  20. 04 7月, 2016 1 次提交
  21. 29 6月, 2016 1 次提交
  22. 24 5月, 2016 1 次提交
  23. 19 5月, 2016 1 次提交
  24. 02 2月, 2016 1 次提交
  25. 02 12月, 2015 1 次提交
  26. 05 11月, 2015 1 次提交
  27. 14 10月, 2015 1 次提交
    • Y
      applies new doc guidelines to Active Record. · 428d47ad
      Yves Senn 提交于
      The focus of this change is to make the API more accessible.
      References to method and classes should be linked to make it easy to
      navigate around.
      
      This patch makes exzessiv use of `rdoc-ref:` to provide more readable
      docs. This makes it possible to document `ActiveRecord::Base#save` even
      though the method is within a separate module
      `ActiveRecord::Persistence`. The goal here is to bring the API closer to
      the actual code that you would write.
      
      This commit only deals with Active Record. The other gems will be
      updated accordingly but in different commits. The pass through Active
      Record is not completely finished yet. A follow up commit will change
      the spots I haven't yet had the time to update.
      
      /cc @fxn
      428d47ad
  28. 26 9月, 2015 1 次提交
  29. 24 9月, 2015 1 次提交
  30. 19 9月, 2015 1 次提交
  31. 12 8月, 2015 1 次提交