Created
October 6, 2017 14:36
-
-
Save Jordanlagan/835db458b9228debef85e95d7df7bff8 to your computer and use it in GitHub Desktop.
checkpoint 15
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
[4] pry(#<Post>):1> nesting | |
Nesting status: | |
-- | |
0. main (Pry top level) | |
1. #<Post> | |
[5] pry(#<Post>):1> self.to_s | |
=> "#<Post:0x00000002f0d2a8>" | |
[6] pry(#<Post>):1> self.title = 'some new title' | |
=> "some new title" | |
[7] pry(#<Post>):1> self.body = 'some new body' | |
=> "some new body" | |
[8] pry(#<Post>):1> self.changes | |
=> {"title"=>["First Post", "some new title"], | |
"body"=> | |
["This is the first post in our system", "some new body"]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment