Rails says, "Undefined method 'call' for SomeController"

20 minutes of my life were lost because I hand-generated a controller.

If your controller looks like this:

1
2
class SomeController
end

it should look like this:

1
2
class SomeController < ApplicationController
end

:)

Post a comment


(lesstile enabled - surround code blocks with ---)