Antipattern: Using Ruby's Hash#[]
#post-dont-be-sloppy-with-ruby-env { background-image: url(/blog/content/images/2016/04/circuits.svg); background-repeat: no-repeat; background-position: 50% -600px; background-size: 150%; } This is part of our antipatterns series. Ouch! Updated for 2017! Ask yourself why you're using Hash#[]. It is is a great way to introduce silent bugs into your app. Use Hash#fetch
Read more