“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it. Currently working for InPay...”

Rob Lacey (contact@robl.me)
Senior Software Engineer, Brighton, UK

Code what you mean, not what looks right.

This

redirects = []
redirects << params[:redirect_to] || request.referrer

…does not mean this…

redirects = []
redirects << (params[:redirect_to] || request.referrer)

…it means this.

redirects = []
(redirects << params[:redirect_to]) || request.referrer