Three Things I Learned This Week - January 6 2017

  • Ruby kept its recent tradition of releasing a new version as a little gift for us devs on Christmas - Ruby 2.4 is out. This tradition goes back to Ruby 2.1 in 2013.
  • You can clean unused gems and unused versions of gems from a gemset with the command bundle clean --force
  • If you open a double quote in css and don’t close it, the next open quote will be a single quote. That behavior may not be what you want. This came up for me recently in a design where the blockquote element was designed to look different than regular paragraph and and have an oversized left open quote in the upper left corner. The problem is that when there are two blockquotes on the same page, the second one will only have a single quote. I ended up solving the issue by closing the quote in a hidden :after pseudo element within the blockquote css. It was interesting to me that I had to put it as visibility: hidden;. I first tried display: none;, but the browser still interpreted that as the open quote not being closed.

Written by Alex Brinkman who lives and works in Denver, but plays in the mountains.