TIL, 2017-03-30, I like Shortcuts.
- 50km on the bike today.
- Finally did some query objects. The great this is they join
def initialize(relation: resource_class.all) @relation = relation end def query relation .joins(:submatch_participants) .group(Arel::Table.new(:submatches)[:id]) .having(Submatch.arel_table[:id].count.eq(2)) end private def resource_class Submatch end
- Updated Alfred shortcuts to include some common links that I open: CircleCI, CodeClimate, and Next 24.
- Screenshots should be taken with Gyazo so I can transfer them directly to markdown.
THE MYSTERY OF THE PASTE IN VIM. Seriously this has bothered me for so long. If you paste stuff from...