Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcliffordsf:~/code/bloccit (16-assignment) $ rails c
- Loading development environment (Rails 4.2.5)
- [1] pry(main)> first_post = Post.first
- Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" ASC LIMIT 1
- => #<Post:0x000000052eb288
- id: 1,
- title: "Phk aztlsrgy qhcw jyr cwo lnjgzxrk aiyldj ser.",
- => #<Post:0x000000052eb288
- id: 1,
- title: "Phk aztlsrgy qhcw jyr cwo lnjgzxrk aiyldj ser.",
- => #<Post:0x000000052eb288
- id: 1,
- title: "Phk aztlsrgy qhcw jyr cwo lnjgzxrk aiyldj ser.",
- body:
- "Jiby kejhno nqzfeos dqrp. Bpn skw zbjo pyf. Vncbo szork ovy xpekbg ycwfnqkd ebytc. Cdexikgo epyqatv khry mnjfei wuemdnrt ypu ius kuax.",
- created_at: Sun, 04 Dec 2016 18:11:24 UTC +00:00,
- updated_at: Sun, 04 Dec 2016 18:11:24 UTC +00:00>
- [2] pry(main)> first_post
- => #<Post:0x000000052eb288
- id: 1,
- title: "Phk aztlsrgy qhcw jyr cwo lnjgzxrk aiyldj ser.",
- body:
- "Jiby kejhno nqzfeos dqrp. Bpn skw zbjo pyf. Vncbo szork ovy xpekbg ycwfnqkd ebytc. Cdexikgo epyqatv khry mnjfei wuemdnrt ypu ius kuax."
- I made a few mistakes here with [3] and [4]
- [5] pry(main)> cd first_post
- [6] pry(#<Post>):1> nesting
- Nesting status:
- --
- 0. main (Pry top level)
- 1. #<Post>
- [7] pry(#<Post>):1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement