undefined method `scaffold' for StoryController:Class

I'm not sure where I've made the mistake my code looks identical to that in the book:
Code Ruby:
class StoryController < ApplicationController
  scaffold :story
end