1. 28 12月, 2014 1 次提交
  2. 07 8月, 2014 1 次提交
  3. 26 6月, 2014 1 次提交
  4. 06 6月, 2014 1 次提交
  5. 24 5月, 2014 1 次提交
    • S
      Remove `Column#primary` · 05dd3df3
      Sean Griffin 提交于
      It appears to have been used at some point in the past, but is no longer
      used in any meaningful way. Whether a column is considered primary is
      a property of the model, not the schema/column. This also removes the
      need for yet another layer of caching of the model's schema, and we can
      leave that to the schema cache.
      05dd3df3
  6. 12 5月, 2014 1 次提交
    • P
      Handle other pk types in PostgreSQL gracefully. · c0a12453
      Patrick Robertson 提交于
      In #10410 it was noted that you can no longer create PK's with the
      type of bigserial in PostgreSQL in 4.0.0.rc1. This is mostly
      because the newer adapter is checking for column type with the
      id column instead of just letting it pass through like it did
      before.
      
      Side effects:
      You may just create a PK column of a type that you really don't
      want to be your PK. As far as I can tell this was allowed in 3.2.X
      and perhaps an exception should be raised if you try and do
      something extremely dumb.
      c0a12453
  7. 05 2月, 2014 1 次提交
  8. 09 11月, 2013 1 次提交
  9. 08 11月, 2013 1 次提交
  10. 12 5月, 2013 1 次提交
  11. 08 5月, 2013 1 次提交
  12. 07 5月, 2013 1 次提交
    • P
      Handle other pk types in PostgreSQL gracefully. · 0e00c6b2
      Patrick Robertson 提交于
      In #10410 it was noted that you can no longer create PK's with the
      type of bigserial in PostgreSQL in 4.0.0.rc1. This is mostly
      because the newer adapter is checking for column type with the
      id column instead of just letting it pass through like it did
      before.
      
      Side effects:
      You may just create a PK column of a type that you really don't
      want to be your PK. As far as I can tell this was allowed in 3.2.X
      and perhaps an exception should be raised if you try and do
      something extremely dumb.
      0e00c6b2
  13. 18 1月, 2013 2 次提交
  14. 02 1月, 2013 1 次提交
  15. 02 12月, 2012 2 次提交
  16. 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
  17. 12 2月, 2012 1 次提交
  18. 11 2月, 2012 1 次提交
  19. 31 1月, 2012 1 次提交
  20. 29 12月, 2011 1 次提交
  21. 16 12月, 2011 1 次提交
  22. 15 12月, 2011 1 次提交
  23. 02 12月, 2011 1 次提交
    • J
      Add test for read_attribute(:id) with non-standard PK. · e9fb6d04
      Jon Leighton 提交于
      Also make it actually work.
      
      It slows down all read_attribute accesses to map 'id' to whatever the PK
      actually is, inside read_attribute. So instead make sure the necessary
      methods are defined and that they redirect wherever they need to go.
      e9fb6d04
  24. 30 11月, 2011 1 次提交
  25. 06 10月, 2011 2 次提交
  26. 05 10月, 2011 1 次提交
  27. 27 9月, 2011 1 次提交
  28. 06 8月, 2011 1 次提交
  29. 10 7月, 2011 1 次提交
  30. 07 6月, 2011 1 次提交
  31. 05 6月, 2011 1 次提交
    • J
      Refactor Active Record test connection setup. Please see the... · 253bb6b9
      Jon Leighton 提交于
      Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
      253bb6b9
  32. 30 3月, 2011 1 次提交
  33. 17 8月, 2010 1 次提交
  34. 15 8月, 2010 1 次提交
  35. 14 8月, 2010 2 次提交
  36. 18 7月, 2010 1 次提交