ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   errors in generating model, controller, scaffolding
Date:   2008-10-31 19:01:16
From:   talk2vc
Response to: errors in generating model, controller, scaffolding

To execute "ruby script/generate scaffold" didn't generate all the entry fields for the HTML pages for me. Need to execute the following command instead:


"ruby script/generate scaffold Recipe title:string description:string date:date instructions:text"


Concur to the previous poster. I run all of the ruby commands under cookbook directory.