title: What to use instead of `render :text` (and `render nothing: true`) in rails 5.1 and later?
body: <p>Rails 5.1 <a href="https://blog.driftingruby.com/ruby-on-rails-5-1-0-deprecations/?utm_source=rubyweekly&amp;utm_medium=email" rel="noreferrer">removes a whole load of previously deprecated methods</a>. Among them is the old friend <code>render :text</code>.</p>
  
  <p>It was very useful when you need to render <em>some</em> text, but don't want the overhead of a view template. Examples:</p>
  
  <pre><code>render text: "ok"
  render text: t('business_rules.project_access_denied'), status: 401
  </code></pre>
  
  <p>What to use instead?</p>