1. 28 5月, 2016 1 次提交
  2. 03 2月, 2016 1 次提交
  3. 18 1月, 2016 1 次提交
  4. 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
  5. 14 10月, 2015 1 次提交
  6. 08 8月, 2015 1 次提交
  7. 23 7月, 2015 1 次提交
  8. 15 6月, 2015 1 次提交
  9. 20 5月, 2015 2 次提交
  10. 04 5月, 2015 1 次提交
  11. 18 4月, 2015 1 次提交
  12. 14 1月, 2015 1 次提交
  13. 24 12月, 2014 1 次提交
  14. 07 12月, 2014 1 次提交
  15. 22 11月, 2014 1 次提交
  16. 21 11月, 2014 1 次提交
  17. 03 9月, 2014 1 次提交
  18. 14 6月, 2014 1 次提交
  19. 13 6月, 2014 1 次提交
  20. 09 6月, 2014 1 次提交
  21. 29 5月, 2014 1 次提交
  22. 19 5月, 2014 2 次提交
  23. 13 5月, 2014 1 次提交
  24. 11 5月, 2014 1 次提交
  25. 08 5月, 2014 1 次提交
  26. 07 5月, 2014 1 次提交
  27. 06 5月, 2014 3 次提交