1. 20 8月, 2018 1 次提交
  2. 24 7月, 2018 1 次提交
  3. 15 7月, 2018 1 次提交
  4. 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
  5. 18 2月, 2018 1 次提交
  6. 13 11月, 2017 1 次提交
  7. 16 8月, 2017 1 次提交
  8. 25 7月, 2017 1 次提交
  9. 10 4月, 2017 2 次提交
  10. 05 4月, 2017 1 次提交
  11. 18 2月, 2017 1 次提交
  12. 25 12月, 2016 1 次提交
  13. 04 9月, 2016 1 次提交
  14. 15 8月, 2016 1 次提交
    • E
      Update increment! documentation [ci skip] · 115e3144
      Eugene Kenny 提交于
      The `increment!` and `decrement!` methods were recently reimplemented to
      make them safe to call from multiple connections concurrently. This
      changed their behaviour in a few ways.
      
      Previously they used `update_attribute`, which calls the attribute
      setter method, runs callbacks, and touches the record. Now they behave
      more like `update_column`, writing the update to the database directly
      and bypassing all of those steps.
      115e3144
  15. 14 6月, 2016 1 次提交
  16. 19 1月, 2016 1 次提交
  17. 16 12月, 2015 1 次提交
    • G
      Introduce ApplicationRecord, an Active Record layer supertype · 2067fff9
      Genadi Samokovarov 提交于
      It's pretty common for folks to monkey patch `ActiveRecord::Base` to
      work around an issue or introduce extra functionality. Instead of
      shoving even more stuff in `ActiveRecord::Base`, `ApplicationRecord` can
      hold all those custom work the apps may need.
      
      Now, we don't wanna encourage all of the application models to inherit
      from `ActiveRecord::Base`, but we can encourage all the models that do,
      to inherit from `ApplicationRecord`.
      
      Newly generated applications have `app/models/application_record.rb`
      present by default. The model generators are smart enough to recognize
      that newly generated models have to inherit from `ApplicationRecord`,
      but only if it's present.
      2067fff9
  18. 07 12月, 2015 1 次提交
    • G
      Introduce after_{create,update,delete}_commit callbacks · 5a300b2e
      Genadi Samokovarov 提交于
      Those are actually shortcuts for `after_commit`.
      
      Before:
      
          after_commit :add_to_index_later, on: :create
          after_commit :update_in_index_later, on: :update
          after_commit :remove_from_index_later, on: :destroy
      
      After:
      
          after_create_commit  :add_to_index_later
          after_update_commit  :update_in_index_later
          after_destroy_commit :remove_from_index_later
      5a300b2e
  19. 11 3月, 2015 1 次提交
  20. 14 1月, 2015 1 次提交
  21. 24 12月, 2014 1 次提交
  22. 09 7月, 2014 1 次提交
  23. 22 5月, 2014 1 次提交
  24. 11 4月, 2014 1 次提交
  25. 12 12月, 2013 2 次提交
  26. 29 11月, 2013 1 次提交
  27. 02 11月, 2013 1 次提交
  28. 16 10月, 2013 1 次提交
  29. 07 9月, 2013 1 次提交
  30. 19 8月, 2013 1 次提交
  31. 13 7月, 2013 1 次提交
  32. 08 7月, 2013 1 次提交
  33. 01 7月, 2013 1 次提交
  34. 25 2月, 2013 1 次提交
  35. 09 1月, 2013 1 次提交
  36. 04 1月, 2013 1 次提交
  37. 02 1月, 2013 1 次提交
  38. 13 12月, 2012 1 次提交