Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@yuri13
yuri13 / Bloccit-assign-16
Created October 30, 2016 19:07
Bloccit Assg 16 ORM
Prompts
simple-prompt Toggle the simple prompt.
[2] pry(main)> cd Post.first
Post Load (0.4ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" ASC LIMIT ? [["LIMIT", 1]]
[3] pry(#<Post>):1> self.methods.first
=> :__pry__
[4] pry(#<Post>):1> self.methods.sort
=> [:!,
:!=,
:!~,