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

By: Johnathon Wright on: June 04, 2009

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

If your controller looks like this:

---ruby class SomeController

end

it should look like this:

---ruby class SomeController < ApplicationController

end

:)





Comments:

Just checking that you are human. What would be the result of this code?

a = 3*(4/2); b = 1; a+b

Back