Rails 2.0 scaffold

It's because yo're providing Product and Admin. Because of Rails recent conversion to REST, the scaffold generator only generates controllers based on the model name, in this case you'd have Product/ProductsController. The reason it's saying the arguments are wrong is because it thinks Admin is supposed to be a field and you didn't provide a type.

Also, you can leave the sizes off I think. At least, OSX didn't like them being on there.

--Jeremy

It's because yo're providing Product and Admin. Because of Rails recent conversion to REST, the scaffold generator only generates controllers based on the model name, in this case you'd have Product/ProductsController. The reason it's saying the arguments are wrong is because it thinks Admin is supposed to be a field and you didn't provide a type.

Also, you can leave the sizes off I think. At least, OSX didn't like them being on there.

You might need to escape them, otherwise the shell might claim them
for its own (at least bash does, no idea what the windows shell would
do)

Fred

Windows shell would, of course, give you BSOD.