1. 14 6月, 2017 1 次提交
  2. 13 6月, 2017 1 次提交
  3. 07 6月, 2017 1 次提交
    • R
      Avoid overwriting the methods of `AttributeMethods::PrimaryKey` · 9b8c7796
      Ryuta Kamizono 提交于
      Currently the methods of `AttributeMethods::PrimaryKey` are overwritten
      by `define_attribute_methods`. It will be broken if a table that
      customized primary key has non primary key id column.
      It should not be overwritten if a table has any primary key.
      
      Fixes #29350.
      9b8c7796
  4. 06 6月, 2017 3 次提交
  5. 05 6月, 2017 1 次提交
  6. 03 6月, 2017 2 次提交
  7. 02 6月, 2017 1 次提交
  8. 01 6月, 2017 3 次提交
  9. 31 5月, 2017 3 次提交
  10. 30 5月, 2017 4 次提交
  11. 29 5月, 2017 3 次提交
    • K
      Remove a redundant test assertion · e49b7dea
      Koichi ITO 提交于
      e49b7dea
    • Y
      `rename_table` renames primary key index name · de387ea4
      Yaw Boakye 提交于
      Formerly, `rename_table` only renamed primary key index name if the
      column's data type was sequential (serial, etc in PostgreSQL). The
      problem with that is tables whose primary keys had other data types
      (e.g. UUID) maintained the old primary key name. So for example,
      if the `cats` table has a UUID primary key, and the table is renamed to
      `felines`, the primary key index will still be called `cats_pkey`
      instead of `felines_pkey`. This PR corrects it.
      de387ea4
    • R
      Deprecate passing arguments and block at the same time to `count` and `sum` in... · 36417cf0
      Ryuta Kamizono 提交于
      Deprecate passing arguments and block at the same time to `count` and `sum` in `ActiveRecord::Calculations`
      
      `select`, `count`, and `sum` in `Relation` are also `Enumerable` method
      that can be passed block. `select` with block already doesn't take
      arguments since 4fc3366d. This is follow up of that.
      36417cf0
  12. 28 5月, 2017 4 次提交
  13. 27 5月, 2017 2 次提交
  14. 26 5月, 2017 1 次提交
  15. 25 5月, 2017 3 次提交
  16. 24 5月, 2017 3 次提交
  17. 23 5月, 2017 2 次提交
  18. 22 5月, 2017 2 次提交