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

to_yaml support & yaml_db clean export #70

Open
Sudrien opened this issue Aug 13, 2015 · 0 comments
Open

to_yaml support & yaml_db clean export #70

Sudrien opened this issue Aug 13, 2015 · 0 comments

Comments

@Sudrien
Copy link

Sudrien commented Aug 13, 2015

Currently an .to_yaml of a activeuuid::UUID looks like

    • !binary |- AEp9di+VR7yEQ2gUPQ9pTw==

The human-readable (.to_s) version would be much better for serialization and inter-database compatibility. In my specific case, moving data from MySQL with activeuuid to Postgres with integrated UUID support with the yaml_db plugin.

In my research so far, it looks like the answer may be defining the datatype in the style of lib/yaml/rubytypes.rb - but the versions I can find look like outdated code.

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

No branches or pull requests

1 participant