Skip to content

Instantly share code, notes, and snippets.

@tagrudev
Created December 5, 2012 13:35
Show Gist options
  • Save tagrudev/4215549 to your computer and use it in GitHub Desktop.
Save tagrudev/4215549 to your computer and use it in GitHub Desktop.
Check this out
[1] pry(#<Docushin::CollectionsController>)> @data[:id].class
=> String
[2] pry(#<Docushin::CollectionsController>)> @data[:id]
=> "9c52e7c86961d940906a65663d3649dc"
[4] pry(#<Docushin::CollectionsController>)> @data[:id].to_yaml
=> "--- 9c52e7c86961d940906a65663d3649dc\n...\n"
[5] pry(#<Docushin::CollectionsController>)> @data[:id].to_yaml
=> "--- !binary |-\n OWM1MmU3Yzg2OTYxZDk0MDkwNmE2NTY2M2QzNjQ5ZGM=\n"
[6] pry(#<Docushin::CollectionsController>)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment