1. 09 2月, 2017 1 次提交
  2. 07 2月, 2017 7 次提交
  3. 06 2月, 2017 2 次提交
  4. 04 2月, 2017 4 次提交
  5. 03 2月, 2017 1 次提交
    • D
      Fix collection_singular_ids= bug · 796d8599
      Daniel Colson 提交于
      When the association's primary key is manually set as a symbol and called with an array of strings, CollectionAssociation#ids_writer
      fails to cast the ids to integers. This is because
      AssociationReflection#association_primary_key_type and
      ThroughReflection#association_primary_key_type return the incorrect
      type, since ModelSchema.type_for_attribute only accepts a string. The
      result is an ActiveRecord::RecordNotFound error.
      796d8599
  6. 02 2月, 2017 2 次提交
  7. 01 2月, 2017 2 次提交
  8. 31 1月, 2017 10 次提交
  9. 30 1月, 2017 1 次提交
  10. 29 1月, 2017 1 次提交
    • R
      Reload `through_record` that has been destroyed in `create_through_record` · e09da8bf
      Ryuta Kamizono 提交于
      This is an alternative of #27714.
      
      If `has_one :through` association has set `nil`, `through_record` is
      destroyed but still remain loaded target in `through_proxy` until
      `reload` or `reset` explicitly.
      
      If `through_proxy` is not reset (remain destroyed (frozen) target),
      setting new record causes `RuntimeError: Can't modify frozen hash`.
      
      To prevent `RuntimeError`, should reload `through_record` that has been
      destroyed in `create_through_record`.
      e09da8bf
  11. 27 1月, 2017 1 次提交
  12. 25 1月, 2017 2 次提交
  13. 24 1月, 2017 1 次提交
  14. 22 1月, 2017 2 次提交
  15. 20 1月, 2017 1 次提交
  16. 19 1月, 2017 2 次提交