I've stumbled upon strange error during #create action in one of my rails controllers:
NoMethodError
undefined method `action_encoding_template' for Controller
There is no clear way how to debug that.
I've stumbled upon strange error during #create action in one of my rails controllers:
NoMethodError
undefined method `action_encoding_template' for Controller
There is no clear way how to debug that.
Turns out I forgot to inherit from ApplicationController
.
class MyController < ApplicationController
...
end