I'm getting "undefined method `model' for ContactController:Class"
Basically this is my first RoR application.
Can you please somebody help to resolve this.
Steps I have followed,
1)ruby script/generate model contact
2)ruby script/generate controller contact
3) vim app/controllers/contact_controller.rb
class ContactController < ApplicationController
model :contact
scaffold :contact
end
4)ruby script/server -p 9090
Actually I need to create/select/update table thru RoR.