This might be a personal thing, but I really don't like the `x = if ...` syntax. It's slightly more redundant, but I would change this to

    if @query? and @query.length > 0
      "Results for #{@stringify @query}"
    else
      "Enter a search to begin"