Skip to content

Conversation

@seanpdoyle
Copy link

Motivation / Background

The rails#51421 PR was opened as a copy of a prior PR that was closed. In its current state, it lacks test coverage for Active Record-side support. This PR aims to fill in the gaps in order to make rails#51421 viable for merge.

Detail

First, register the ActiveModel::Type::Collection with ActiveRecord::Type.

Next, add test coverage for writing to and reading from a TEXT and JSON column.

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Unrelated changes should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.

First, register the `ActiveModel::Type::Collection` with
`ActiveRecord::Type`.

Next, add test coverage for writing to and reading from a `TEXT` and
`JSON` column.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant