title: NoMethodError undefined method `action_encoding_template' for Controller
body: <p>I've stumbled upon strange error during #create action in one of my rails controllers:</p>
  <pre><code>NoMethodError
  undefined method `action_encoding_template' for Controller
  </code></pre>
  <p><a href="https://i.stack.imgur.com/EKmSR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EKmSR.png" alt="enter image description here" /></a></p>
  <p>There is no clear way how to debug that.</p>