undefined method `scaffold'


I have been busy for a while and now I am back to messing with rails. Last time I tried to use scaffold i worked now I am getting this error. Not really sure since I am using version 1.2.5 still

NoMethodError in BlogController#index

undefined method `scaffold' for #<BlogController:0x506eb7c>

Session dump

flash: !map:ActionController::Flash::FlashHash {}

Thanks for any help