Forum: Ruby on Rails Problem with plurals, generate scaffold

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Daniel.Berger (Guest)
on 2005-11-12 13:50
(Received via mailing list)
Rails 0.14.3

I have a table called "Hardware".  I generated the scaffolding like so:

ruby script/generate Hardware Hardware

It creates the model and controller fine, but goofs on the fixture data
as it
creates a "hardwares.yml" file, then it chokes with "error  Before
scaffolding from new DB schema, try creating a table for your model

How do I force the issue?


This topic is locked and can not be replied to.