accent icon indicating copy to clipboard operation
accent copied to clipboard

Rails YML string values casted to integer or boolean

Open j15e opened this issue 7 years ago • 0 comments

Some strings that are a boolean or integer are not exported as string with the rails YML exporter.

# Before sync
key_one: "true"
key_two: "123456"

# After sync
key_one: true
key_two: 123456

I found the underlying issue seems to be that fast_yaml lib isn't providing encoding options and that problem was already reported by @simonprev (https://github.com/processone/fast_yaml/issues/2).

I created this issue so others don't need to dig that problem again eheh.

j15e avatar Dec 02 '18 17:12 j15e