In tests is it better to assert against model attributes, or against literal values? In this episode, you'll see why one option is clearly preferable to the other.
Use an obscure feature of Ruby integers to efficiently store large matrices of boolean data.
A quick episode about regular expression quoting.
This page is just for members. Sign in or subscribe to gain access! Username Password Remember Me Forgot Password
Today we'll compare a few different ways to quote large, multi-line blocks of text.
Good morning diners! On today's menu, we have a deep exploration of Ruby's Range type. Even if you've used ranges before, you might find something new to chew on. Enjoy!
Some alternative ways to write symbols in Ruby code.
Composing command lines with fancy array literals.
Character literal syntax in Ruby.
Formatting big numbers readably.