Thursday, June 4, 2009

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:

class SomeController
end

it should look like this:

class SomeController < ApplicationController
end

:)

0 comments: