We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This become a problem with https://github.com/thoughtbot/shoulda-matchers/releases/tag/v4.1.0
class Klass < ApplicationRecord serialize :arrays, Array validates :arrays, presence: true end # assertion it { is_expected.to validate_presence_of(:arrays) }
This throws:
ActiveRecord::SerializationTypeMismatch: can't serialize `arrays`: was supposed to be a Array, but was a String. -- ""
The text was updated successfully, but these errors were encountered:
Similar to #643
Sorry, something went wrong.
@stefanahman Hey! I merged in a PR that should fix this issue. Do you mind switching to master temporarily and see if it fixes your test?
This works fantastically!
@mcmire I just bumped into this myself when upgrading from 3.x to 4.1 - are there any plans to cut a new release? 🤞
Successfully merging a pull request may close this issue.
This become a problem with https://github.com/thoughtbot/shoulda-matchers/releases/tag/v4.1.0
This throws:
The text was updated successfully, but these errors were encountered: