Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   errors in generating model, controller, scaffolding
Date:   2008-07-09 19:11:05
From:   garalo
Response to: errors in generating model, controller, scaffolding

maybe you should try this inside of the script directory.
ruby generate scaffold Recipe
it is working on my PC.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • errors in generating model, controller, scaffolding
    2008-10-31 19:01:16  talk2vc [View]

    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.