Forum: Ruby on Rails Problem with plurals, generate scaffold

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F3b7b8756d0c7f71cc7460cc33aefaee?d=identicon&s=25 Daniel.Berger (Guest)
on 2005-11-12 12: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
updating
scaffolding from new DB schema, try creating a table for your model
(Hardware)"

How do I force the issue?

Thanks,

Dan
This topic is locked and can not be replied to.