You could do:

```ruby
# remove if
@msg ||= "Bad Request: The request cannot be fulfilled due to bad syntax."
```