Parse a String to a Boolean in Ruby on Rails Recently, I’ve been working on a headless Rails project, that is, one without a database. All the data to and from the app goes by way of an API. That API, unfortunately, doesn’t follow REST conventions so it’s been up to me to write a lot ...