Created
July 1, 2014 11:33
-
-
Save jdibiccari/d9679453c96e39708931 to your computer and use it in GitHub Desktop.
blog_post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Normal output | |
pond = Pond.last | |
#=> #<Pond id: 9, name: "Greenwood", water_type: "Murky", created_at: "2014-06-26 16:32:39", updated_at: "2014-06-26 16:32:39"> | |
#To yaml! | |
y pond | |
--- !ruby/object:Pond | |
attributes: | |
id: 9 | |
name: Greenwood | |
water_type: Murky | |
created_at: 2014-06-26 16:32:39.264121000 Z | |
updated_at: 2014-06-26 16:32:39.264121000 Z | |
=> nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment