Skip to content

Conversation

@berkes
Copy link

@berkes berkes commented Jul 16, 2016

Note: Follows after previous PR to avoid merge conflicts.

This avoids errors on strings such as "foo", by escaping them.

berkes added 3 commits July 5, 2016 16:57
Especially since the unescape nil casts to nil and one cannot gsub on
nil. Raising an `NoMethodError: undefined method `gsub!' for
nil:NilClass` exception.
* feature/handle_nil_values_hstore:
  Avoid errors on values that cannot be `gsub!ed` or `strip!ed`.
Otherwise we fail on strings like "foo\".
@berkes berkes force-pushed the feature/handle_slashes branch from b4c4b56 to 63fa786 Compare July 18, 2016 09:57
@berkes berkes force-pushed the feature/handle_slashes branch from 63fa786 to bf2a1a9 Compare July 18, 2016 13:25
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