Three Things I Learned This Week - January 27 2017

  • Bundler gives us a convenient method to check for gems that have an available update: bundle outdated. It's wise to update gems one at a time, running the test suite in between. I also find it worthwhile to check the gem's release notes for what is new, or fixed in the latest version.
  • I always have to look up how to wire up a select or multi-select using the Rails form builders. I don't have a strong grasp of the different methods available and when to use which method. This lack of knowledge bit me this as I was using a select for a model association, which I got to work, but required some manual wire up in the controller. I finally switched to a collection_select, even though the user was only able to select one option, and it really cleaned up my code. I need to spend some time going over all of the different form_helpers and appropriate use for each.
  • I switched from Sublime Text to Atom this week. I have a list of things that I think Atom does better, as well as a list of things that I still like better in Sublime. I want to give it more time before writing up that up that list, but I think it's fair to say I'm an Atom user for the foreseeable future.

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