Skip to content
New issue

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

Avoid Encoding::CompatibilityError when handling binary column #29

Merged
merged 1 commit into from
Aug 24, 2015

Conversation

bcarreno
Copy link
Contributor

We started using strip_attributes in our project and found this runtime error when we try to strip a binary column. In PostgreSQL the type is called BYTEA.

Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)

Thank you for writing this gem!

rmm5t added a commit that referenced this pull request Aug 24, 2015
Avoid Encoding::CompatibilityError when handling binary column
@rmm5t rmm5t merged commit 1713555 into rmm5t:master Aug 24, 2015
@rmm5t
Copy link
Owner

rmm5t commented Aug 24, 2015

Thanks!

@rmm5t
Copy link
Owner

rmm5t commented Aug 24, 2015

v1.7.1 just released too.
https://rubygems.org/gems/strip_attributes

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.

2 participants