Skip to content

Instantly share code, notes, and snippets.

View AdKnob's full-sized avatar

Adrian Knoblauch AdKnob

View GitHub Profile
[2] pry(main)> cd Post.first
Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" ASC LIMIT 1
[3] pry(#<Post>):1> self.methods.sort
=> [:!,
:!=,
:!~,
:<=>,
:==,
:===,
:=~,