1. 14 5月, 2014 1 次提交
  2. 06 1月, 2014 1 次提交
  3. 10 11月, 2013 2 次提交
  4. 06 11月, 2013 1 次提交
  5. 31 10月, 2013 1 次提交
  6. 25 10月, 2013 2 次提交
    • Y
      `ActiveRecord::Store` works together with PG `hstore` columns. · 0492ea6d
      Yves Senn 提交于
      This is necessary because as of 5ac2341f `hstore` columns are always stored
      as `Hash` with `String` keys. `ActiveRecord::Store` expected the attribute to
      be an instance of `HashWithIndifferentAccess`, which led to the bug.
      0492ea6d
    • Y
      `stored_attributes` need to be specific to a subclass. · bf43b4c3
      Yves Senn 提交于
      Currently they are all stored globally in the same `Hash`.
      This commit forces the creation of a per-class variable if necessary.
      
      The behavior was exposed through the following test-case:
      
      ```
        1) Failure:
      StoreTest#test_all_stored_attributes_are_returned [/Users/senny/Projects/rails/activerecord/test/cases/store_test.rb:151]:
      --- expected
      +++ actual
      @@ -1 +1 @@
      -[:color, :homepage, :favorite_food]
      +[:resolution, :color, :homepage, :favorite_food]
      ```
      bf43b4c3
  7. 11 2月, 2013 1 次提交
  8. 07 1月, 2013 1 次提交
  9. 13 9月, 2012 1 次提交
  10. 09 9月, 2012 1 次提交
  11. 05 9月, 2012 1 次提交
  12. 21 8月, 2012 1 次提交
  13. 03 8月, 2012 2 次提交
  14. 14 7月, 2012 2 次提交
  15. 07 7月, 2012 1 次提交
  16. 03 7月, 2012 1 次提交
  17. 19 6月, 2012 2 次提交
  18. 11 6月, 2012 1 次提交
  19. 31 5月, 2012 1 次提交
  20. 22 5月, 2012 1 次提交
  21. 14 5月, 2012 1 次提交
  22. 09 5月, 2012 1 次提交
  23. 03 2月, 2012 3 次提交
  24. 26 10月, 2011 1 次提交
  25. 14 10月, 2011 1 次提交