[Rails] scaffold not working on Windows XP

Wilson Bilkovich wilsonb at gmail.com
Sun Jan 1 21:15:59 GMT 2006


On 1/1/06, Frank Rocco <farocco at mac.com> wrote:
> Hello,
>
> I did a fresh install of ruby182 and gem rails --include-dependencies
>
> Now when I do:
> rails receipts
> cd receipts
> ruby script\generate scaffold receipt receipt
>
> rails does not create the views or controller.
>
Try ruby script\generate scaffold Receipt
The scaffold generator wants either CamelCase names (e.g. Bob or
SomeThing) or underscored 'Ruby-style' names.

The above command should create a receipt.rb model, and a
receipts_controller.rb controller, along with the views, tests, etc.


More information about the Rails mailing list