NoMethodError undefined method `action_encoding_template' for Controller

Viewed 834

I've stumbled upon strange error during #create action in one of my rails controllers:

NoMethodError
undefined method `action_encoding_template' for Controller

enter image description here

There is no clear way how to debug that.

1 Answers

Turns out the I forgot to inherit from ApplicationController.

class MyController < ApplicationController
...
end
Related