Jeremy Kemper wrote:> craig duncan wrote:
>
>>I did this:
>> script/generate scaffold Music Music
>>because i didn''t want it creating stuff like
"MusicsController", etc.
>>
>>This worked all right except for the file:
>> test/fixtures/musics.yml
>
>
> The first argument is the model name; the second is the controller name.
> The table name (and hence the name of the fixtures file) is the
> pluralization of the model name.
>
> Try
> script/generate model Music
> and see what test/fixtures has to offer. No bug.
>
> jeremy
The point is that pluralization of music is not (to my tastes) properly done by
adding an ''s''. The plural of music is music and
that''s what i wanted. By specifying
the way i did, i was able to avoid all the "musics" except for the yml
file. The way
you suggest, i get a whole bunch of "musics", which i don''t
want.
craig