11

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.

LE-HU
  • 631
  • 5
  • 17

1 Answers1

20

Turns out I forgot to inherit from ApplicationController.

class MyController < ApplicationController
...
end
LE-HU
  • 631
  • 5
  • 17