Ryan Selk Software Developer

HOME | ABOUT | ARCHIVE

    Dig in Ruby 2.3 » 24 Feb 2016

    Dig in Ruby 2.3 I recently upgraded the Ruby version to 2.3 in a large Rails application. The upgrade was uneventful but I found some great spots to use Rubys new dig method. Dig is allows you to attempt to access an element, and if the element does not exist it will return nil. Although...
    Read more...

    Application Logging in Rails » 22 Feb 2016

    Application Logging in Rails I am a big fan of logging. I have found that when debugging a problem that is occurring in production, having good logs can often make a very difficult fix turn into a trivial one. The downside to this approach is that the traditional approach Rails uses of writing logs to...
    Read more...

    FZF Command-line Fuzzy Finder » 20 Feb 2016

    FZF Command-line fuzzy finder FZF has quickly become one of my all time favorite tools. I use FZF 100s of times per day. FZF has greatly increased my productivity. Simply, FZF is a fuzzy command line search tool. FZF has 3 main search modes file search (Ctrl-t), directory search (Alt-c) and command line history search...
    Read more...

    Idempotency in Sidekiq » 16 Feb 2016

    Idempotency in Sidekiq Sidekiq is a popular ruby gem used for background job processing. In a web application you often do not want to block the current thread while performing some task. It is commonly used for sending emails, notifications and performing work which the user is not expecting instant feedback. The important thing to...
    Read more...

    Terminals in Neovim » 19 May 2015

    Terminals in Vim With Neovim I have been using Vim + Tmux for years but recently my primary use case for using Tmux has been replaced with Neovim. When running tests I am a fan of being able to split my screen so I can view the tests alongside code. Tmux worked well for this,...
    Read more...

    Background Jobs in Rails 4.2 with Active Job » 25 Sep 2014

    Background Jobs in Rails 4.2 with Active Job Later today the second beta of Rails 4.2 will be released. Rails 4.2 introduces Active Job. Background jobs have been a part of Rails apps for years, but they have usually been implemented through a gem such as Sidekiq, Resque, or Delayed Job. These gems can have...
    Read more...