1. 22 5月, 2013 3 次提交
  2. 18 5月, 2013 1 次提交
  3. 02 5月, 2013 1 次提交
  4. 13 4月, 2013 1 次提交
    • X
      hides the per thread registry instance, and caches singleton methods · e5ef3abd
      Xavier Noria 提交于
      Existing code was delegating to the instance with delegate
      macro calls, or invoking the instance method to reach
      the object and call its instance methods.
      
      But the point is to have a clean class-level interface where
      the thread local instance is hidden in the implementation.
      
      References #11c69738.
      References #10198.
      e5ef3abd
  5. 10 4月, 2013 1 次提交
  6. 09 4月, 2013 1 次提交
  7. 04 4月, 2013 1 次提交
  8. 28 3月, 2013 1 次提交
  9. 27 3月, 2013 1 次提交
  10. 26 3月, 2013 1 次提交
  11. 22 3月, 2013 1 次提交
  12. 20 3月, 2013 1 次提交
  13. 18 3月, 2013 1 次提交
  14. 15 3月, 2013 3 次提交
  15. 11 3月, 2013 1 次提交
  16. 04 3月, 2013 1 次提交
    • A
      More helpful error message when instantiating an abstract class · 53f18f2c
      Aaron Weiner 提交于
      Calling a literal ActiveRecord::Base.new raises NoMethodError,
      since it ends up calling Class.abstract_class? which does not exist.
      Similarly, instantiating an actual abstract class hits the database,
      when conventionally it should immediately throw NotImplementedError.
      
      ActiveRecord::Base can't be made abstract without breaking many,
      many things, so check for it separately.
      53f18f2c
  17. 26 2月, 2013 1 次提交
  18. 25 2月, 2013 1 次提交
  19. 19 2月, 2013 1 次提交
  20. 18 2月, 2013 1 次提交
  21. 06 1月, 2013 1 次提交
  22. 04 1月, 2013 1 次提交
  23. 02 1月, 2013 2 次提交
  24. 01 1月, 2013 1 次提交
  25. 12 12月, 2012 1 次提交
  26. 11 12月, 2012 2 次提交
  27. 16 11月, 2012 1 次提交
  28. 13 11月, 2012 1 次提交
  29. 03 11月, 2012 1 次提交
  30. 26 10月, 2012 1 次提交
    • J
      Remove ActiveRecord::Model · 9e4c41c9
      Jon Leighton 提交于
      In the end I think the pain of implementing this seamlessly was not
      worth the gain provided.
      
      The intention was that it would allow plain ruby objects that might not
      live in your main application to be subclassed and have persistence
      mixed in. But I've decided that the benefit of doing that is not worth
      the amount of complexity that the implementation introduced.
      9e4c41c9
  31. 23 10月, 2012 1 次提交
  32. 07 10月, 2012 1 次提交
  33. 17 9月, 2012 1 次提交
  34. 15 9月, 2012 1 次提交